D vs. C#
David Brown
dlang at davidb.org
Mon Oct 22 19:36:17 PDT 2007
On Mon, Oct 22, 2007 at 02:14:29AM -0700, Walter Bright wrote:
> If the source code is portable, i.e. there is no undefined or
> implementation defined behavior, there's no reason that the VM object code
> should be more portable than the source. (And remember all the troubles
> with Java VMs behaving differently?)
In the smartphone market, source is almost never distributed. Having
multiple architectures would require every software vendor to support
every desired architecture. Having a VM allows them to easily
distribute a product that works on all phones instead of one.
For this market, at least, native code isn't really even an option.
Of course, since nearly all smart phones use a single processor (ARM),
this really isn't applicable. The smart phone people do like the
sandbox aspect as well, though.
David
More information about the Digitalmars-d
mailing list