Latest post
Java Panama Polyglot (Rust) Part 4
By exposing native Rust functions, you can be easily accessed using Project Panama’s Foreign Function Access APIs.
-
Does Java 18 Finally Have A Better Alternative To JNI?
Java 18, released last month, includes the 2nd incubator of the Foreign Function & Memory API (FFI). Let’s look at the state of the Java FFI.
-
Rust and the JVM
The JVM automatically releases objects from memory when they are not needed anymore. This process is known as Garbage Collection.
In languages with no GC, developers have to take care of releasing objects. With legacy languages and within big codebases, releasing was not applied consistently, and bugs found their way in production.
As the ecosystem around the JVM is well developed, it makes sense to develop applications using the JVM and delegate the most memory-sensitive parts to Rust.
1-3 of 3