~/talk

Starting from Scratch with Scala Native

Talkat Scala Days Berlin 2018 · 2018-05-14..05-17· [embedded-and-hardware]
slides:none on file

Scala Native compiles Scala to LLVM and produces native binaries, uses C ABI types and direct libc calls like printf, scanf, qsort and malloc. Examples process the Google ngrams file: a naive line scan then a sort and an aggregation using stack allocation to avoid GC and qsort + malloc/realloc for big arrays. Empirical result: for a 1.7 GB file the JVM run is ~186s while native is ~43s, showing 4–6x speedups.

AI-written summary · about

  1. 0:00Introduction to Scala Native
  2. 2:46Understanding Scala Native
  3. 6:43Working with C-style strings
  4. 11:27Pointer arithmetic basics
  5. 16:04Memory allocation techniques
  6. 20:20Essential C standard functions
  7. 23:25N-gram data algorithm study
  8. 28:28Data structures and sorting
  9. 37:01Advanced data aggregation
  10. 41:30Future outlook and conclusions
~/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.