Scala Goes Native
summary
Announces an ahead‑of‑time Scala compiler and lightweight runtime that emit LLVM native binaries, add struct and stackalloc value types and allow manual allocation to avoid GC pressure. Demonstrates C++ at 7s, Scala Native at 8.7s vs 7s vs 15s for Java, with comparable memory use when allocations are manual. Provides extern C interop for calling C libraries, is currently single‑threaded, open source, targets x86_64 with ARM planned, and leaves unsafe pointer ops with undefined behavior.
AI-written summary · about
chapters (25)
- 0:00Intro
- 0:20Background
- 0:30Pascal
- 1:08C
- 1:43Harp
- 3:48Scala
- 4:29JVM
- 4:52Golden Cage
- 5:17Safety
- 6:18Native Code
- 6:52daydream
- 7:26do work
- 7:58value types
- 8:28memory management
- 9:23toilet code
- 17:51Native import
- 20:31Questions answered
- 32:01iOS
- 33:18Unsafe Features
- 35:47Interoperate with C
- 36:36OpenCL
- 37:06Why Scala C and Dotty
- 38:13Primitive types
- 38:29String types
- 39:24GC heap
related talks
30mScala Native: the marriage of performance and functional comfort
41mLessons to Scala Native from Kotlin Native
26mSlinc: A Library for Scala to C Interoperability
19mHow to use a Rust library inside the JVM application
28mRust and Scala, Sitting in a Tree….
48mWriting a compiler with LLVM
56mGet the best of both worlds: Integrating Rust with other languages
01h 13mJai Demo and Design Explanation (KEYNOTE) - Updated
