Anyone interested in embedding a JVM in their D app?

Rikki Cattermole via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jan 14 15:06:37 PST 2015


On 15/01/2015 3:26 a.m., Ben Boeckel via Digitalmars-d-announce wrote:
> On Wed, Jan 14, 2015 at 15:05:18 +1300, Rikki Cattermole via Digitalmars-d-announce wrote:
>> Definitely need to get JNI support first class.
>> It definitely will help with getting D on Android.
>
> My experience is that the D runtime needed some work to accept that
> there are Linux machines without glibc (bionic for Android). After
> getting those assumptions out, I had it to a point where it was
> compiling, but things blew up in the runtime somewhere (or bionic; it
> was never really giving useful backtraces) during my argument parsing
> (my guess is the GC was mucking with the wrong bits, but there wasn't
> anything conclusive since debugging was never easier than what I got
> from logcat and looking at disassemblies). This was back in 2.065 era
> though and I haven't done much with it since then.
>
> --Ben

That's trying to get JNI to work, I'm assuming that part has already 
been done and we want a nice wrapper around it.
At the worse case scenario, at least it'll work for e.g. Windows, OSX 
and Linux.


More information about the Digitalmars-d-announce mailing list