Java & JVMJava & JVM
Conference50min
INTERMEDIATE

Write safe native code for JVM with Rust

In this talk we will talk about how to glue JVM with one of my favorite languages as of late, Rust. We will: - Compare JNI (Java Native Interface) and the newly added FFM (Foreign Function and Memory) API; - Introduce the FFM API; - Run native code examples for both; - Show what to pay attention to when using Rust as the implementation language of the native part. All with running code examples and unit tests.

talk.summaryAiDisclaimer

Mateusz Rzeszutek
Mateusz RzeszutekElastic

talkDetail.whenAndWhere

Friday, June 19, 11:40-12:30
Room 4A
talks.roomOccupancytalks.noOccupancyInfo
talks.description
In this talk we will talk about how to glue JVM with one of my favorite languages as of late, Rust.

We will:
- Compare JNI (Java Native Interface) and the newly added FFM (Foreign Function and Memory) API;
- Introduce the FFM API;
- Run native code examples for both;
- Show what to pay attention to when using Rust as the implementation language of the native part.

All with running code examples and unit tests.
rust
jvm
jni
ffm
talks.speakers
Mateusz Rzeszutek

Mateusz Rzeszutek

Elastic

Poland

I am an experienced software engineer with a strong Java & JVM background. I am passionate about open source software, and have previously worked as a maintainer of the OpenTelemetry Instrumentation for Java project, and an approver of several other OpenTelemetry SIGs.