[NBLUG/talk] Java v. C++ in Linux
William L. Thomson Jr.
support at obsidian-studios.com
Tue May 6 20:38:00 PDT 2003
On Tue, 2003-05-06 at 22:14, Edward Mendoza wrote:
>
> I would like to know if most Java and C++ programmers prefer to work in a
> Linux or windoze environment?
I would not develop anything for or in a Windows env. Not unless you
like to spend money, and waste time.
> Can you even work with Java or C++ in the Linux environment (I'm assuming
> that you must be able to)?
Your not serious are you? In case you are, yes you can work with both.
> Also, between Java and C++, which is the better language?
Apples vs Oranges.
Quick differences
C++ generally faster than Java
C++ is not as portable as Java
Java is faster to develop and deploy
There is less to learn and worry about with Java like memory management.
Java can be better suited for web applications
Java comes with many libraries and resource out of the box
Java requires and runs on a virtual machine
Java virtual machines can be made and dialed in for purposes and apps
C++ is hard to optimize at a low level
C++ leaves a small foot stamp
Java can be a little more stable and secure
There are more but those are the ones that come to mind.
> If Java is so great, then why hasn't it replaced C++ as the leading
> programming language?
Due to many differences. In some cases it has, in other its not. It all
depends on the application, task at hand, env, etc.
> Is it because it is slower?
Not always. In some cases it can be faster.
> Is it because it can't do everything that C++
> can do?
There are little differences in the scope of what one can do as compared
to the other.
> Are my questions off base?
No all
> Am I being ignorant?
That remains to be seen
> If so, please throw me a few bred crumbs.
How about a loaf.
> I ask this because since Java came out a few years ago (6, 7, 8?) it has not
> lived up to the enthusiastic expectations that were widely rumored. Java is
> supposed to be able to create objects that are far more superior than the
> ones you can make with C++, it's also supposed to have much more security
> than C++, etc, etc.
It all depends on use. For web applications, and cross platform apps I
use Java. For native Linux only apps, I use C++. However I can usually
develop an app in Java in less time than C++ and it work on a variety of
OS. Even if I can develop a C++ app just as fast or faster, I sure could
not port it as easily.
My 2 cents.
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
3548 Jamestown Ln.
Jacksonville, FL 32223
Phone/Fax 904.260.2445
http://www.obsidian-studios.com
More information about the talk
mailing list