Open burner opened 5 years ago
Adam has recently developed a JNI library that he is actively using. https://github.com/adamdruppe/arsd/blob/master/jni.d
As such this project idea needs revisiting.
I highly recommend Adam's JNI library. I'd advocate for it to be officially adopted, if at all possible. If not, I'd highly recommend borrowing from his design. He has made working with JNI so convenient that I'm embarrassed to admit it's actually making me start to like Java.
D\'s features allow to write cut down the boilerplate of wrapper drastically. See the recently published excel-d for a comparison between the C++ implementation for registering a function in Excel and the D way. Similarly a solid JNI library would open up new many new use cases and allow the Java community to profit even easier from D\'s features.
Previous work: DJni, djvm