youtube image
From YouTube: The JVM Meets WASI: Writing Cloud-Friendly Wasm Apps Using Java and Friends - Joel Dice

Description

Don’t miss out! Join us at our upcoming event: KubeCon + CloudNativeCon Europe 2023 in Amsterdam, The Netherlands from April 17-21. Learn more at https://kubecon.io​. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy, and all of the other CNCF-hosted projects.

The JVM Meets WASI: Writing Cloud-Friendly Wasm Apps Using Java and Friends - Joel Dice

Java has been one of the most popular programming languages for decades and remains the go-to language for many enterprises. Other JVM-based languages such as Kotlin, Scala, and Clojure have gained large and loyal followings, boosted by easy interoperability with the vast body of Java libraries and frameworks. There are already a number of options for translating Java bytecode into WebAssembly for use in browsers, including Bytecoder, TeaVM, JWebAssembly, and CheerpJ. However, none of these were suitable for cloud-based workloads until recently. This presentation will describe how to use TeaVM to build WASI-compatible WebAssembly modules from Java, Kotlin, and any other language that compiles to Java bytecode. It will also discuss some of the advantages of doing so versus using a traditional JVM, including faster startup time, broader language interoperability, and improved isolation of untrusted code.