Overview
Explore Scala Native's capabilities for systems programming in this 45-minute conference talk from Scala Days New York 2018. Dive into the basics of Scala Native, learn about CStrings, stack and heap allocation, and discover how to leverage these concepts for performance optimization. Compare JVM and Native implementations using Google NGrams as a practical example. Understand CStructs and their role in modeling data structures. Gain insights into sorting and aggregation techniques specific to Scala Native. Reflect on the changing landscape of hardware and its implications for systems programming.
Syllabus
This talk is about
Talk Outline
About Me
Scala Native is
The Basics
Systems Programming
What's a CString?
Stack Allocation
Heap Allocation
Google NGrams
Maximum Count (JVM)
Maximum Count (Native)
Find Maximum Count
Performance
Sorting NGrams
Sorting: JVM
What's a CStruct?
Modeling an NGram
Sorting: Native
Aggregation: Native
Reflections
Hardware is Changing
Taught by
Scala Days Conferences