I
Ioannis Vranos
Ioannis said:Who said you can't? What I have been saying all along? My .NET
applications have garbage collection, all objects inheriting from a base
class Object and thus I can do:
int x= 7;
String *p= x.ToString();
run-time generics (in .NET 2), templates, etc. However not all of these
are suitable or feasible for systems programming, that's why Standard
C++ comes with what is suitable and feasible on its own (and that's why
Java is not suitable for systems programming).
To bring it in the Java context, a C++ compiler for the JVM would have the same access to
all JVM features, that Java the language (the syntax) currently has. However JVM is
proprietary and its company does not let anyone make a C++ (or Fortran or whatever)
compiler for it.