17

So, today I tried using my C/++ Code in Java using native jvm stuff.
It's cancer to make it work but damn it's cool.

Comments
  • 0
    @frogstair that's my plan. Slowly moving away from Java.
  • 3
    @frogstair I’d be happy to just use “Script” as my web development language
  • 1
    JNI is a ridiculously verbose, creaky pile of crap, but it works at a reasonable speed if you need a low overhead to native stuff. JNA is better to use but slower. They're both kinda crappy though.

    At some point I think there was a JEP to overhaul all the native stuff, but no idea if it ever got implemented - it tends to be low priority these days.
  • 1
    @AlmondSauce think JNR is the speedier version of JNA.
Add Comment