D vs Java

Charles noone at nowhere.com
Sun Mar 19 07:00:17 PST 2006


 > That's very nice, but it has been many years and still I'VE NEVER seen a
 > quick Java app in my life (maybe two or tree very small programs).

Do you mean desktop apps ?  If so I agree they usually are unbearably 
slow -- the only exception to this seems to be SWT apps.

Server side apps is where Java shines usually .

 >> Check Javas position relative to C++ here:
 >> http://dada.perl.it/shootout/craps.html

That only measures CPU usage , I would argue that you _want_ a program 
to use as much CPU as possible.  The memory usage page 
http://dada.perl.it/shootout/craps_mem.html , puts Java back in its 
place near dead last.


Tom wrote:
> David Medlock escribió:
> 
>> Tom wrote:
>>
>>> Walter Bright wrote:
>>>
>>>> I'm no expert on Java programming, but I get this question a lot: 
>>>> "What compelling reason does D have that would entice a Java 
>>>> programmer to switch to D?"
>>>>
>>>> I know several of you have come to D from Java, and are expert Java 
>>>> programmers, so you folks' reasons would be very valuable. 
>>>
>>>
>>>
>>> Java
>>> - Sucks 'cause of its horrendous slowness
>>
>>
>> This hasn't been true in quite some time.
>>
>> Check Javas position relative to C++ here:
>> http://dada.perl.it/shootout/craps.html
> 
> 
> That's very nice, but it has been many years and still I'VE NEVER seen a 
> quick Java app in my life (maybe two or tree very small programs).
> 
>> I will agree/add with my list below:
>>
>> 1. No runtime to install. (80 megs?)
>> 2. JVM is a memory hogg.
>> 3. Much better low-level facilities(OpenGL, bit twiddling)



More information about the Digitalmars-d mailing list