D language as script through JVM

Paulo Pinto pjmlp at progtools.org
Sun Aug 19 02:28:48 PDT 2012


On Sunday, 19 August 2012 at 09:27:44 UTC, Paulo Pinto wrote:
> On Sunday, 19 August 2012 at 00:58:25 UTC, Alexey Egorov wrote:
>>> In D's case there are many operations, like unsafe code, or 
>>> the sematics
>>> associated with stack data types, which cannot be implemented 
>>> by JVM instructions.
>>
>> but script must be save, it is no need to do unsafe operations.
>
> Then you are not implementing the language D, but the 
> language's subset, safe D.

Oh, and forgot to mention that structs wouldn't be allocated in 
stack anyway, even with a JVM's implementation for safe D, thus 
breaking language's semantics.


More information about the Digitalmars-d mailing list