Anyone interested in embedding a JVM in their D app?

Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jan 14 06:47:10 PST 2015


On 2015-01-14 03:00, james wrote:
> I've been playing with jni.h and D.  I think I've got a fully
> working jni.d and I have the start of a nicer D wrapper around it
> with djvm.d.
>
> https://github.com/jamesmahler/djvm
>
> There is an example usage in the README.md.  There's also why I'd
> do such a thing in there.
>
> I'm not sure if anyone else would be interested in this.  I'm
> open to help and merge requests if anyone wants to join in.
>
> In the short term, I still have several low level things to wrap
> with the more D interfaces.
>
> In the longer term, I want to have D interfaces around JDBC.


Dropbox has a tool [1] for automatically generate the JNI glue code for 
connecting Java <-> C++. Perhaps it's possible to output D code instead.

[1] https://github.com/dropbox/djinni

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list