~/talk

From functional programming to assembly - the cost of abstractions....

Talkat Devoxx Ukraine 2020 · 2020-11-05..11-07· [java]
slides:none on file

Immutable calculator code benchmarks run on OpenJDK 1.8 show ~10x slowdown versus a mutable loop, but compiling with Graal removes allocations so immutability costs disappear; investigation uses JMH for correct warmup and blackholes, JITWatch and printed assembly to confirm optimization, and Java Flight Recorder / JMC plus gc logs and jstat to find heap churn. A 2D array test demonstrates column-wise access hitting ~70% cache misses; database latency swamps micro-optimizations. escape analysis explains when allocations vanish.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:10Why functional programmers care about assembly
  3. 3:59Performance myths and premature optimization
  4. 13:55Immutability performance analysis
  5. 23:43JVM profiling tools
  6. 35:01Monad transformers performance
  7. 38:52Database vs micro-optimizations
  8. 41:36CPU cache and memory access
  9. 46:18Benchmarking best practices
  10. 50:30Future of performance and abstractions
~/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.