From the Department of Insane Ideas: D on the JVM

Gregor Richards Richards at codu.org
Wed Dec 13 10:19:07 PST 2006


Gregor Richards wrote:
> No, I'm not saying somebody should do it, I'm saying I've done it.
> 
> http://www.codu.org/nestedvm-gdc/
> 
> Using NestedVM, a tool that lets you compile anything GCC supports to 
> Java bytecode, I've made a modified copy of GDC that can produce native 
> Java .class files from D source.
> 
> What's the use? I don't know, I only did it to have a bit of perverse fun.
> 
> Sockets and threads don't work yet, and it's not extensively tested, but 
> it works enough to get a simple Hello, World! compiled.
> 
> I'll put up full documentation on using it later, just thought the NG 
> might be interested in knowing it exists.
> 
>  - Gregor Richards

I've added some basic documentation on compiling and installing 
nestedvm-gdc, as well as a nifty script 'gdcj' that does compilation and 
generation of .jar files for you :)

http://www.codu.org/nestedvm-gdc/

  - Gregor Richards


More information about the D.gnu mailing list