#ffm

2 articles

David M. Lloyd: VarHandle fundamentals

David M. Lloyd has another piece on modern reflection, this time on VarHandle - and as usual, it's highly informative. It replaces a lot of Unsafe usage, and demonstrates quite a bit of atomic access fundamentals as well, and it opens up offheap access, too.

Chicory Redline: Native Speed for Wasm on the JVM

Chicory Redline delivers native-speed WebAssembly on the JVM by compiling the Cranelift compiler to Wasm and running it through Chicory itself - native code, bundled in a JAR, with no JNI required. Already shipping in JRuby with a 10x parsing improvement. Early but credible, and the cleanest Panama FFM use case to appear so far.