Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Ractor: a proposal for new concurrent abstraction without thread-safety issues #3365
Quoted from https://bugs.ruby-lang.org/issues/17100
This ticket proposes a new concurrent abstraction named "Ractor", Ruby's
Ractor achieves the following goals:
I'm working on this proposal in a few years, and the project name was
Current implementation is not complete (many bugs are remaining) but it passes current CI.
This commit introduces Ractor mechanism to run Ruby program in parallel. See doc/ractor.md for more details about Ractor. See ticket [Feature #17100] to see the implementation details and discussions. [Feature #17100] This commit does not complete the implementation. You can find many bugs on using Ractor. Also the specification will be changed so that this feature is experimental. You will see a warning when you make the first Ractor with `Ractor.new`. I hope this feature can help programmers from thread-safety issues.