Re: C++ or Java ?

From: alex goldman (hello_at_spamm.er)
Date: 06/28/05


Date: Mon, 27 Jun 2005 16:51:47 -0700

Luc The Perverse wrote:

> "William Ahern" <william@wilbur.25thandClement.com> wrote in message
> news:kf86p2-e7r.ln1@wilbur.25thandClement.com...
>> Luc The Perverse <sll_noSpamlicious_z_XXX_m@cc.usu.edu> wrote:
>>> Well it has been decided.
>>
>>> Despite my lack of familiarity with java - I went to download the java
>>> SDK,
>>> and listed right below it are a bunch of free libraries, a media
>>> utility, a
>>> speech recognition/synthesizer, image library and even a free encryption
>>> toolkit. And it's all completely cross platform as far as I can tell.
>>>
>>> C++ would not be able to do this for me.
>>
>> I'm not trying to disparage Java the language, but take note that Java is
>> not as cross-platform as is advertised. I cannot run modern Java
>> applications either on my server OpenBSD/Alpha or on my personal computer
>> Linux/PPC. The latest (or even remotely recent) VM's just don't work on
>> either of those two platforms, and many more.
>
> AHHH!! Don't tell me that.
>
> I don't feel any closer to making a decision than when I first posted this
> thread - even though the topic appears to be running dry.
>
> I think the problem is that there is no clear cut answer, and because I
> don't have experience with this I don't know the right questions to ask.
>
> I think my only course of action is to write all the sample applications I
> suggested in both C++ and Java and then come back here and post an article
> I have written about what I learned and hopefully help someone out in the
> future :P
>
> I love C++ and the thought that Java could be better than it in any way is
> disconcerting. But I am a realist, and I realize that if Java had no
> redeeming factors, it would not have become popular.
>

That's because there's no perfect answer. You have to make trade-offs w.r.t.
ease-of-use, ease-of-learning, execution speed, robustness, portability,
compilation speed, and so on. It doesn't have to be this way, but that's
how things are. Look up "Brandon J. Van Every" on Google groups, and try
not to repeat his ongoing mistake.



Relevant Pages

  • Re: is dotnet a - Virtual Machine - like Java ?
    ... .Net will never become mainstream on any platforms other than windows. ... Java will never create as good windows GUI apps as .Net does ... there will be a real choice of language to suit the application, ...
    (microsoft.public.dotnet.general)
  • Re: C, really portable?
    ... My brother worked a couple of years at making Java programs ... >> the really sneaky portability problems. ... Wait, is Java a modern language superior to C, or is it still ... > platforms don't have C compilers,, doesn't ...
    (comp.lang.c)
  • Re: A fossil makes a statement
    ... to the recent appearance of Java and .NET. ... If we had a large array of incompatible OS and hardware platforms ... I'll be able to do it with a language I know or just about ...
    (borland.public.delphi.non-technical)
  • Re: regarding picking platforms and languages for diff sw problems
    ... java is good for string ... > -what platforms are suited for different kinds of software problems ... > decisions such as which language to use, which platform to use, etc. ... - What are the libraries your application needs? ...
    (comp.programming)
  • Re: vb
    ... Java and any .NET language? ... Platforms - currently .NET runs only on the Windows platform, ... Compiled Code - VB.NET compiles to MSIL, ...
    (microsoft.public.dotnet.framework)