~/talk

Succeeding with Full Stack Scala

Talkat Scala Days New York 2018 · 2018-06-19..06-21· [software-architecture]
slides:none on file

Claim: full‑stack Scala is practical for a real web product — LearnRaga — using Scala.js + React + Slinky, SBT and webpack to share core code between JVM and JS. Real problems and fixes: FFT on 4k buffers is ~3ms on JVM vs 14ms in naive JS and is reduced to ~4ms with asm.js, immutability creates GC spikes so critical paths use controlled mutability, and selective re-rendering via shouldComponentUpdate preserves 60fps pitch detection. Bundle is ~780KB gzipped; app is in public beta and works.

AI-written summary · about

  1. 0:00Start
  2. 6:18Why React?
  3. 8:45React Component Model
  4. 10:39Web apps using Scala.js
  5. 11:37Tools
  6. 14:01Stateless Component in Slinky
  7. 15:02Stateful Component in Slinky
  8. 16:04External Component in Slinky
  9. 18:05Real-time Performance Requirements
  10. 21:24Immutability
  11. 23:50Solution: Mutability with care
  12. 24:36Solution: WASM/ASM
  13. 28:10Using shouldComponentUpdate
  14. 30:01Running tests on JS
  15. 30:37JVM/JS Isomorphism
  16. 32:18Dealing with JVM/JS differences
  17. 33:05Http Abstraction
  18. 33:29JVM Implementation
  19. 33:50File System Abstraction
  20. 37:41Possible solutions
  21. 38:32Deployment
  22. 39:30Separate Server and Client processes
  23. 39:54Without Source Maps
  24. 40:59Source Maps in Production
~/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.