GTO said:
I do not believe that C# is the future of C++. I also do not believe that
IMHO C# shares little more than part of it's name with C++. IMHO C# is
more "proprietary Java" than anything else. Granted, Java shares a fair
amount of syntax with C++.
adding two thousand new library functions to the standard library is the
future of C++. But what is the future of C++? Is it as good as a programming
language can get?
No, bulking up the standard library for the sake of bulking it up
wouldn't make sense.
Some oddball wild-hair ideas of what could be done/added to C++???
A modular standard. As in a baseline, maybe a full workstation/server
spec, a minimalist embedded spec (stripped down lib)... ???
Add a threading library. (eg. similar to Posix?)
A means of expressing parallelism.
Both of the above will be important as multi-CPU machines become more
common. Heck, even Intel has their HT Pentiums. (typing this on one
running Fedora Core 2 now).
Similarly, maybe formalize a networking library since just about every
widget seems to have an ethernet port on it now...
Forget a new standard, kick compiler vendors in their collective
backsides to catch up and be compliant with today's standard! ;-)
Define an abstract C++ virtual machine, maybe even a byte-code or
"portable C++" spec to compile C++ into bytecode that could run on a
JVM. (ie. beat the Java-ites at their own game by making C++ portable,
not just at the source level.)
Fill-in some nice-to-haves in STL, but don't get crazy...
Maybe introduce "compilable interfaces" or virtual headers. Similar to
how Ada lets you compile a package's interface and implementation
seperately.
Anything to help vendors with tool integration. (editors, compilers,
linkers, debuggers, profilers...)
Don't get carried away though - keep the lean/mean "C and then some"
attitude. Virtual function overhead and exception handling state
machines are about all the extra baggage I want to have carried around...