Ruby, Ractors, and Lock-Free Data Structures
Ruby, Ractors, and Lock-Free Data Structures
Intro
This story is about concurrent data structures in the context of Ruby. The goal here is to demonstrate how true parallelism can be achieved with global mutable state (which at the time of writing, is not supported by built-in Ruby primitives).
Familiarity with Ruby, Rust, C, (and a bit of other tooling) is nice to have, but hopefully not mandatory.
The repository with code examples can be found on GitHub, to run it you need a relatively new vers...
Read more at iliabylich.github.io