The End of JNI Pain: How WebAssembly Is Quietly Replacing Native Libraries in Java (#98) episode artwork

EPISODE · Jun 13, 2026 · 44 MIN

The End of JNI Pain: How WebAssembly Is Quietly Replacing Native Libraries in Java (#98)

from Foojay.io, the Friends Of OpenJDK! · host Foojay.io | Java and Programming Community

WebAssembly is already running inside Java applications, but most developers just don't know it yet.In this episode, Andrea Peruffo walks us through how WebAssembly is becoming the modern, safe alternative to JNI. Run Rust, C, and other native libraries directly on the JVM, without the crash risks, per-platform packaging headaches, or the observability blackhole that JNI creates.From JRuby's Prism parser to SQLite and full Postgres running as pure Java bytecode, the use cases are real. And the project making it possible, Endive, under the Bytecode Alliance, is open and ready to explore.GuestAndrea PeruffoGitHub: https://github.com/andreaTP/LinkedIn: https://www.linkedin.com/in/andrea-peruffo-32269178/Bluesky: https://bsky.app/profile/andreatp.bsky.socialLinksA New Generation of Java Libraries: Wasm Becomes the Implementation DetailChicory on GitHubEndive on GitHubEndive documentationBytecode AllianceOpenJDK Project DetroitTimestamps00:00 Introduction of topic and guests00:56 What is WebAssembly?03:35 Comparing the performance with JavaScript05:45 JRuby already uses WebAssembly09:04 JNI versus FFM API versus WebAssembly13:58 Other Java-related tools that use WebAssembly17:56 History of the Chicory and Endive projects to bring WebAssembly to Java21:03 Projects of the Bytecode Alliance22:02 The Endive project as the glue to bring WebAssembly tools to Java23:30 Integration of the Redline compiler28:59 Why this is the perfect solution to modernize existing Java applications31:18 Is this approach performant?32:24 What future changes in Java and the JVM will make this even better35:04 How Endive can be used in AI development37:28 What to expect in Endive41:29 Conclusions

WebAssembly is already running inside Java applications, but most developers just don't know it yet.In this episode, Andrea Peruffo walks us through how WebAssembly is becoming the modern, safe alternative to JNI. Run Rust, C, and other native libraries directly on the JVM, without the crash risks, per-platform packaging headaches, or the observability blackhole that JNI creates.From JRuby's Prism parser to SQLite and full Postgres running as pure Java bytecode, the use cases are real. And the project making it possible, Endive, under the Bytecode Alliance, is open and ready to explore.GuestAndrea PeruffoGitHub: https://github.com/andreaTP/LinkedIn: https://www.linkedin.com/in/andrea-peruffo-32269178/Bluesky: https://bsky.app/profile/andreatp.bsky.socialLinksA New Generation of Java Libraries: Wasm Becomes the Implementation DetailChicory on GitHubEndive on GitHubEndive documentationBytecode AllianceOpenJDK Project DetroitTimestamps00:00 Introduction of topic and guests00:56 What is WebAssembly?03:35 Comparing the performance with JavaScript05:45 JRuby already uses WebAssembly09:04 JNI versus FFM API versus WebAssembly13:58 Other Java-related tools that use WebAssembly17:56 History of the Chicory and Endive projects to bring WebAssembly to Java21:03 Projects of the Bytecode Alliance22:02 The Endive project as the glue to bring WebAssembly tools to Java23:30 Integration of the Redline compiler28:59 Why this is the perfect solution to modernize existing Java applications31:18 Is this approach performant?32:24 What future changes in Java and the JVM will make this even better35:04 How Endive can be used in AI development37:28 What to expect in Endive41:29 Conclusions

NOW PLAYING

The End of JNI Pain: How WebAssembly Is Quietly Replacing Native Libraries in Java (#98)

0:00 44:22

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Big Old Life: Heather Blackbird interviews people on planet earth. Heather Blackbird loves asking questions. This podcast is a learning experience. Join me, Heather Blackbird, as I talk to people about their lives. Frequency of new episodes is a little all over the place and I'm learning as I go. Big Old Life is a small way of talking about the vastness of life, one person at a time. If you are reading this or found this podcast it's probably because someone you know gave you a link to it. :) Explicit Tales Of A Superstar DJ The Insomniac Spun seemingly out of nowhere from her complacent life in the corporate world, turned seemingly overnight from 16-Hour shift work and into the life of a literally starving artist and working musician, The Protagonist navigates her supposed rise to fame and superstardom on a journey through spiritual awakening, coming-of-age, and intimate self-realization--guided by an omnipresent force and equipped with the power of love, magic, and music. {Enter The Multiverse.} [The Festival Project] The Festival Project, Inc.™ is a multidimensional multimedia platform which encompasses exploratory and artistic social personifications and expressions on cosmic theory, spirituality, growth, health & wellness, philosophy and theoretic dynamics in entertainment such as music, design, film, television, radio, dance and festival culture, art, fashion, literature, and science. The Festival Project™ and its subsidiary Non-Profit, The Collective Complex © aims to challenge modern artistic and philosop Explicit Bitcoin Is Dead Trey Carson Welcome to Bitcoin is Dead, the ultimate Bitcoin variety show where host Trey takes you on a journey through the ever-evolving world of Bitcoin. Each episode brings new personalities, fascinating locations, and insightful conversations with politicians, educators, and innovators shaping the future of Bitcoin. Whether you're a seasoned Bitcoiner or just starting your journey, tune in for thought-provoking discussions, unique perspectives, and a deep dive into the ideas and people driving the Bitcoin revolution. Explicit The Sacred +Profane Podcast nephtaragrace The Sacred + Profane Podcast is a provocative conversation dedicated to cementing a better future for all. We specialize in unpacking the nuances of what is considered sacred and profane, particularly focusing on sex, death, and all that pertains to the circle of life. Our aim in focusing on such ”taboo” subject matter is to demystify what is unconscious, bring to light what has been known for centuries as ”the occult,” and empower the rapid transformation that is occurring on the Planet. Explicit

Frequently Asked Questions

How long is this episode of Foojay.io, the Friends Of OpenJDK!?

This episode is 44 minutes long.

When was this Foojay.io, the Friends Of OpenJDK! episode published?

This episode was published on June 13, 2026.

What is this episode about?

WebAssembly is already running inside Java applications, but most developers just don't know it yet.In this episode, Andrea Peruffo walks us through how WebAssembly is becoming the modern, safe alternative to JNI. Run Rust, C, and other native...

Can I download this Foojay.io, the Friends Of OpenJDK! episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!