From: | Hans-Peter Diettrich <DrDiettrich1@aol.com> |
Newsgroups: | comp.compilers |
Date: | Wed, 02 Sep 2009 15:09:02 +0200 |
Organization: | Compilers Central |
References: | 09-07-074 09-07-095 09-07-105 09-08-050 09-08-056 09-09-005 |
Keywords: | code |
Posted-Date: | 02 Sep 2009 23:40:14 EDT |
BGB / cr88192 schrieb:
>> If I understand you correctly, it seems that this interface wouldn't
>> be portable to other VMs, and that the standard libraries could not be
>> shared with another implementation which did not use a C virtual
>> machine?
>
> another VM could use a similar strategy, but granted, to use plain C<->C
> interfacing, the VM in question would need to be able to support C.
>
> the great problem is that this quickly rules out most simple /
> language-specific VMs...
>
> basically, to handle both a dynamic language, and C, the VM would need a
> similar level of complexity to that of .NET ...
Where do you see such a requirement?
IMO the VM only must support the C calling convention and data types
(ABI) - not different from interfacing any other "language".
DoDi
Return to the
comp.compilers page.
Search the
comp.compilers archives again.