D vs Java

Walter Bright newshound at digitalmars.com
Mon Mar 20 11:59:57 PST 2006


"Roberto Mariottini" <Roberto_member at pathlink.com> wrote in message 
news:dvltsr$2771$1 at digitaldaemon.com...
> - Compile once and run everywhere. I write, compile and test my program 
> with my
> Windows PC, then download it in a Linux-based CN, a VxWorks-based terminal 
> and a
> WinCE one (last two with an ARM processor). The application works the same 
> on
> the 4 platform, the user doesn't notice. You only have to care for a few 
> things,
> like case sensitiveness for file names, or not using the latest whistles & 
> bells
> not present in that particularily old VM.

This portability isn't the result of a VM, it's the result of cleaning up 
all the undefined and implementation defined behaviors in the language.

D is about halfway in between C++ and Java in this regard. It could be 
better. 





More information about the Digitalmars-d mailing list