Advanced
Ruby
Q92 / 100
What problem do "Ractors" (introduced in Ruby 3.0) aim to solve?
Correct! Well done.
Incorrect.
The correct answer is B) They provide an Actor-model-based concurrency abstraction that allows true parallel execution of Ruby code across multiple CPU cores by isolating mutable state between Ractors and communicating via message passing
B
Correct Answer
They provide an Actor-model-based concurrency abstraction that allows true parallel execution of Ruby code across multiple CPU cores by isolating mutable state between Ractors and communicating via message passing
Explanation
Ractors enable parallel execution by running independent Ruby VM instances that cannot directly share mutable objects, communicating instead through message passing, sidestepping the GVL limitation for parallelism.
Progress
92/100