Scala Native: the marriage of performance and functional comfort
summary
Scala Native compiles Scala ahead-of-time into native binaries to give much faster startup and direct C interop. The talk covers building a real CLI that binds libcurl by hand and parses wiki text with scala-parser-combinators, highlights increased verbosity for native HTTP calls, and explains explicit memory management (pointer types, stack vs heap), three GC modes (manual, GC, no-GC), plus existing tooling and sbt support with tight version constraints.
AI-written summary · about
chapters (9)
- 0:00Scala Native intro
- 2:11Interop features
- 6:01Usage visions
- 9:56JVM vs native
- 13:19Memory management
- 16:56Cross-compilation
- 21:51Missing APIs
- 24:49Publishing deps
- 26:36Production readiness
related talks
40mScala Goes Native
42mScala goes Native
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
22mWhen to Use Native Extensions in Rust: Accessible, Safe Performance
46mKotlin/Native Concurrency Model
28mRust and Scala, Sitting in a Tree….
