News for hackers. Stuff that matters.
Re:Proposal of a new concurrency model for Ruby 3 [pdf] by bad_user on Thursday September 08, 2016 @08:04AM (#12452187)
So guilds are effectively OS-managed processes?
Re:Proposal of a new concurrency model for Ruby 3 [pdf] by audunw on Thursday September 08, 2016 @10:18AM (#12453207)
No, the heap is shared among guilds. See the last slide.

Moving data between guilds is cheap because data does not have to be copied. Referencing frozen (immutable) data is cheap to.

It seems it will track ownership of objects to make sure guilds don't access other guilds data. But it doesn't seem that it uses OS-level data protection.

Re:Proposal of a new concurrency model for Ruby 3 [pdf] by pmontra on Thursday September 08, 2016 @08:52AM (#12452457)
From the slides I got the idea that there is only one OS process with guilds and possibly threads within guilds. But it could be that the language doesn't care and that's an implementation detail. We'll see.