News for hackers. Stuff that matters.
Re:TruffleC: A C implementation on top of JVM (2014) by rschatz on Friday August 12, 2022 @06:27AM (#32436540)
You can still use pointers. It's a bit hidden, but there are things like `Unsafe.allocateMemory`, `Unsafe.getByte` and so on ;)
Re:TruffleC: A C implementation on top of JVM (2014) by dzaima on Friday August 12, 2022 @06:32AM (#32436575)
right; at which point the subset of jvm you're using is a subset of any other IR/VM, the 'j' in 'jvm' being only useful as an implementation/runtime.
Re:TruffleC: A C implementation on top of JVM (2014) by chaosite on Friday August 12, 2022 @07:25AM (#32436880)
Sure, but don't discount all of the JIT optimizations that were implemented in the JVM and the huge number of engineer years invested in that particular implementation/runtime...