Bytecode implementations and why they're important

If you can implement the solution you proposed in a stable and performant way (and in a timeframe that doesn’t get us even further from reaching R1) it will be a great thing for Haiku.

+1.

1 Like

Well Java has JNA and of course theres Graal VM for polyglot applications.

Sure. JNA is a joy to use compared to JNI… except the documentation isn’t all that great, and there is a lot of “magic” going on if you want to use low level data structures. C# you can define a struct and it will be Marshalled across to the native process. Java via JNA uses some kind of magic to map data structures to classes - sure it works, but it is opaque and hard to debug compared to P/Invoke. But then, JNI just makes the developer regret their life decisions to get to that point, so I’d take JNA every day of the week.