<[EMAIL PROTECTED]> wrote:
> Java is much slower because it is pcode,
Not true. Modern JVMs with JIT compilation techniques are as fast - or
even faster - than C++ in general.
> 1. how many applications are really "ported"?
It depends what the developer wants to do with the CFX tag - they are
often reused and that reuse may well be on another platform.
> 2. C applications are portable as well if one recompiles them
C source code portability is achievable but it is *much* harder than
many people realize because so many platform differences exist. I
spent several years at a company that developed a C source code
analyzer (based on the ANSI-validated compiler I wrote) and we worked
with companies worldwide, solving their portability problems... and we
charged $9,000 per server for that checker... they were having so many
problems with C portability that they gladly paid for this tool over
and over again.
> 3. as soon as you use system dependant libraries, like ODBC for instance,
> your application is not portable anyway, either in Java or in C.
But JDBC *is* portable so there's no reason to use ODBC.
> 4 if your application do not use any of these, then there are not that many things you can do with it.
There are plenty of portable ways to do lots of things.
> Finally, I'll never forgive the Java designers for having droped pointers.
> Gee, this was the best innovation in computer science since the punched card!
Pointers were the single most problematic aspect of C and C++ for many
developers and were the primary source of application unreliability
(memory leaks, reusing freed memory etc). Implementing a safe virtual
machine that supports unmanaged pointers is extremely hard - they're
just not worth the hassle to be honest.
--
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Got Gmail? -- I have 2 invites
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

