Overview
Explore the groundbreaking development of Scala Native in this 40-minute conference talk from Scala Days New York 2016. Delve into the evolution of Scala beyond its JVM-centric roots, following the success of Scala.js in front-end development. Discover the newly announced ahead-of-time compiler and lightweight managed runtime designed specifically for Scala, expanding the language's horizons. Learn about the background of native compilation, safety considerations, memory management, and value types. Gain insights into native code generation, interoperability with C, and the potential for iOS development. Understand the implications of unsafe features, primitive types, and string handling in Scala Native. Examine the relationship between Scala Native, C, and Dotty, and explore topics such as garbage collection and OpenCL integration. Engage with the Q&A session to address specific queries about this exciting new direction for Scala programming.
Syllabus
Intro
Background
Pascal
C
Harp
Scala
JVM
Golden Cage
Safety
Native Code
daydream
do work
value types
memory management
toilet code
Native import
Questions answered
iOS
Unsafe Features
Interoperate with C
OpenCL
Why Scala C and Dotty
Primitive types
String types
GC heap
Taught by
Scala Days Conferences