~/talk

A brief introduction to systems programming, with Scala Native

Talkat Scale By The Bay 2019 · 2019-11-13..11-15· [scala]
slides:none on file

Scala Native’s unsafe API gives Scala direct C-level control while staying in Scala: Scala Native 0.4.0-M2 compiles with LLVM, exposes pointers (8-byte addresses), stack alloc and malloc (example: 16-int array initialized with pointer arithmetic), C strings accessed via strlen, and C function pointers used to call C quicksort via qsort. Resulting binaries are tiny (about 1.5 MB binary) and the demos run correctly, showing low-overhead interop and comparable raw performance to C for array and string workloads.

AI-written summary · about

  1. 0:00Introduction to the talk
  2. 1:24State of Scala Native
  3. 2:55Defining systems programming
  4. 5:02The C abstraction model
  5. 9:04Scala Native overview
  6. 10:41Primitive data types
  7. 12:34Working with pointers
  8. 17:22Arrays and memory access
  9. 20:14String management
  10. 23:33Structs and unions
  11. 25:43Functions and final thoughts
~/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.