Go to content

Comparing the Actor model & CSP concurrency with Elixir & Clojure | Xiang Ji

This video was recorded at ElixirConf EU 2022 - https://www.elixirconf.eu/ Comparing the Actor model & CSP concurrency with Elixir & Clojure | Xiang Ji - Senior Backend Engineer @ Remote ABSTRACT One big selling point of the BEAM VM is its from-the-ground-up implementation of the Actor model. CSP, another concurrency paradigm, has gained a lot of traction via Go, while also being embraced by Clojure. There is shared heritage between Elixir & Clojure, as well as between Actor model & CSP. However, radical differences between BEAM and JVM inevitably lead to intriguing divergences. You’ll gain a better understanding of these paradigms, and (hopefully) a bit more appreciation of what makes BEAM unique. Talk objectives: Better understanding of the Actor model Better understanding of unique features of the BEAM VM (e.g. process memory space isolation, preemptive scheduling, soft real-time, independent generational garbage collection) Better understanding of CSP, of how concurrency challenges are approached in languages such as Go and Clojure. Better understanding of the similarities and differences between Elixir and Clojure. Better understanding of the strengths and weaknesses of the BEAM VM compared with other runtimes such as the JVM. Target audience: People who could benefit from more knowledge of the BEAM VM, with which they can become better Elixir/Erlang developers. People who want to learn more about the characteristics of and differences between concurrency paradigms. People who are curious about Go’s/Clojure’s approach to concurrency. People who are curious about the contrast between Elixir and Clojure, the BEAM VM and the JVM. • Timecodes: 00:00 - 04:15 - Intro 04:16 - 10:32 - Demo 10:33 - 14:14 - Problem 1 - Content Editable + Attempts 14:15 - 23:44 - Problem 2 - Score Creep 23:45 - 28:51 - Problem 3 - Polish 28:52 - 34:20 - Problem 4 - Dev Story • Follow us on social: Twitter: https://twitter.com/ElixirConfEU LinkedIn: https://www.linkedin.com/company/27159258 • Looking for a unique learning experience? Attend the next Code Sync conference near you! See what's coming up at: https://codesync.global • SUBSCRIBE TO OUR CHANNEL https://www.youtube.com/channel/UC47eUBNO8KBH_V8AfowOWOw

June 9, 2022