~/talk

The Quiplash Showdown: Go vs Scala

Talkat LambdaConf 2024 · 2024-05-04..05-10· [reactive-programming, go]
links:none on file
slides:none on file

A Quiplash clone called justcloud gets built in both Go and Scala and the comparison drills into actual choices: Go uses goroutines, channels and mutexes to implement a run Loop per game, Scala uses actors (Peco/Petco/PCO in the transcript) and immutable case classes; both scale to hundreds of thousands of lightweight threads/actors. Timeouts are implemented with goroutine sleeps vs futures + pipeToSelf, responses use ask/! operators. The Scala actor version is preferred for simpler state/timeouts; both implementations run.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why Scala
  3. 6:27Concurrency
  4. 11:50Scala concurrency
  5. 14:16Scala actors
  6. 19:58Scala code structure
  7. 21:45Go code
  8. 25:56Go manager
  9. 27:25Scala manager
  10. 29:47Run Loop
  11. 30:57Scala Run Loop
  12. 32:06Scala Run Loop Actor
  13. 33:08Scala Instances
  14. 36:21Scala Timeouts
  15. 37:52Scala RunLoop
  16. 38:33Conclusion
  17. 41:47Outro
~/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.