Java > Scala

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Dec 18 12:29:12 PST 2011


On 12/18/11 1:00 PM, Paulo Pinto wrote:
> Walter Bright Wrote:
>
>> On 12/17/2011 10:36 PM, Russel Winder wrote:
>>> In all of this, the issue of portability of code has seemingly been
>>> missed.  One of the main reasons for Java in 1995 (other than the
>>> trendiness of Web browser programming) was portability across all
>>> platforms.  This made the sys admin of provision of resources  for
>>> programming classes significantly less than it was.  C, C++ and D cannot
>>> match this even today.  Back then it was a Big Win (tm).
>>
>> I find this an odd statement because the Java VM is written in C, so therefore
>> it is on the same or fewer platforms than C.
>
>
> Which specific Java VM are you talking about?
>
> They come in all flavors, written in Assembly, C, C++ and even Java.

Bootstrapping the Java implementation regresses to the same question, so 
it can be safely discounted. Far as I can tell C is on more platforms 
than C++ so we can discount C++ as well. It would be interesting to hear 
about Java implementations written entirely in assembler.


Andrei


More information about the Digitalmars-d mailing list