Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
For debugging, while not multi-threaded, to my knowledge, is the pry gem for debugging. There are a few different flavors, for instance, my favorite is pry-byebug.
For debugging, while not multi-threaded, to my knowledge, is the pry gem for debugging. There are a few different flavors, for instance, my favorite is pry-byebug.
Ractors are the fix for this. Each Ractor has an independent set of Ruby VM state, and mutable objects can't be shared between Ractors. There's ways to communicate between separate Ractors, but because mutable memory isn't shared, each Ractor can have its own GVL. That allows multiple threads can be running Ruby code at once.