One more question - an untapped audience.

Iain Buclaw ibuclaw at gdcproject.org
Wed Feb 19 10:04:58 PST 2014


On 19 February 2014 17:16, Craig Dillabaugh <cdillaba at cg.scs.carleton.ca> wrote:
> On Monday, 10 February 2014 at 18:14:26 UTC, Dejan Lekic wrote:
>>
>> On Monday, 10 February 2014 at 18:11:38 UTC, Steve Teale wrote:
>
> clip
>
>>>
>>> Steve
>>
>>
>> A D compiler that targets JVM or Dalvik directly is my personal dream...
>
>
> I have no idea how hard this would be, but since D has a front-end to the
> GNU compiler collection GDC, and the GNU compiler collection has a backend
> (presumably) that generated Java byte-code, would it be possible to use the
> GDC front end and GCJ backend to do D -> JVM?

Ah, no. That is not the case.  GCJ is a native Java compiler.  No
bytecode going on here...

There is JNI support in g++ -> gcj.  It's just a question of whether
or not we want to add this to gdc (would involve changes to the
dfrontend).


More information about the Digitalmars-d mailing list