D vs. C#
Christopher Wright
dhasenan at gmail.com
Mon Oct 22 10:43:47 PDT 2007
Radu wrote:
> Joel Lucsy wrote:
>> Walter Bright wrote:
>>> With a portable language, it is not necessary to distribute binaries.
>>> You can distribute the *source* code! Then, the user can just
>>> recompile it on the fly (this can be automated so the user never has
>>> to actually invoke the compiler). Just like how Javascript is
>>> distributed as source.
>>
>> .Net does not run in a VM, it is JIT compiled down to machine code.
>> Assemblies *are* essentially source code. And, I belive in most cases,
>> Javascript is either run on a VM, or JIT compiled just like .Net. And
>> I suspect most browsers currently don't do JIT.
>>
> Any system or collection of services that translates an abstract
> instruction set to a concrete one is a virtual machine:
<nitpick>
Rather, it is a virtual machine if it executes abstract instructions, or
interprets them for immediate execution. Compilers aren't VMs.
</nitpick>
More information about the Digitalmars-d
mailing list