News for hackers. Stuff that matters.
Re:Ruby 3.0 Preview 1 by joelbluminator on Saturday September 26, 2020 @05:22AM (#24597481)
I don't understand what you mean by "real multithreading". What I understand from Ractor is that it makes it safer to write concurrent code (e.g there are constructs that keep you from mutating shared data). But there is still a global VM lock, or is that gone in Ractor?
Re:Ruby 3.0 Preview 1 by lucraft on Saturday September 26, 2020 @05:31AM (#24597512)
I believe the VM lock is now per-ractor, so no longer global no. Then there are constraints on what can be shared between ractors to ensure safety.