(keitai-l) Re: The Changing Fact of DoJa

From: Paul <pbl1_at_cornell.edu>
Date: 07/22/05
Message-ID: <42E03E92.506E1E00@cornell.edu>
Hi.... Robi that's excatly right except for Java programs;

1.  They aren't compiled like C.  A java class or jar can
be used as is on any platform.  They don't need to be
compiled for different OSes.  This is a huge difference
between the two.

2.  The main advantage of Java is not speed (no much how
much it is tried to make Java faster).  The advantage is not
being able to deal with low level memory allocation and
the order if library import statements, which speeds up
programming and increases stability of programs.

    This makes Java developement faster, and more stable,
but unfortunately programs will USUALLY (not always)
 run slower than a C or C++ version.

    A programmer equally experiences in C and Java will write
much faster running and cooler looking C programs BUT their
Java programs will do morelogic and be significantly less buggy
and be able to have other people edit them easier without
introducing new bugs.

3.  While in C it is easy to make one piece of source code
run where you have different libraries available (using IFDEF
and such).... in Java it is trickier where the API is not
uniform across platforms like in J2ME implementations
and your observation of filtering out the logic into modules
is exactly spot on.

4.  It would be wonderful if the chipset ran in Java, but the problem is
someone has to do the memory allocation somewhere... aka C
or the machine language would have to handle that part of it.
(And its nice to write C programs that do all the memory when
speed is of the essence).

    That's how I see it.  I see both languages as being necessary and vital in

the present and the near future.

--
-Paul Lester
pbl1@cornell.edu
paul@thetamusic.com
http://members.tripod.com/~pbl1/
--Its in every one of us to be wise...
we can all love ev'rything without
ever knowing why...its in every one
of us...
Received on Fri Jul 22 03:29:01 2005