~/talk

A Deep Dive into Scala Native Internals

Talkat Scala Love in the City 2021 · on Saturday, 2021-02-13· [scala, embedded-and-hardware]
links:none on file
slides:none on file

Scala Native compiles Scala ahead-of-time to machine code by converting Scala ASTs into a custom NIR intermediate representation, running a linker that performs reachability pruning, then an optimizer (including partial escape analysis and polymorphic inlining) and lowering to LLVM IR which clang/llvm compiles; it already cross-builds for Scala 2.12 and 2.13, ships multiple GC options and the interflow optimizer, and is actively working on multithreading support and a Scala 3 frontend.

AI-written summary · about

  1. 0:00Introduction to Scala Native
  2. 1:38Project goals and background
  3. 6:02Native Intermediate Representation
  4. 13:59Compiler pipeline stages
  5. 22:39Linking and optimization
  6. 29:01Code generation and backend
  7. 33:16Future goals and roadmap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.