Re:Proposal of a new concurrency model for Ruby 3 [pdf]
by ergl on Thursday September 08, 2016 @09:04AM
(#12452544)
That's exactly what Pony (http://www.ponylang.org/) does. It has a gc, with all the actors in the system communicating through shared memory. It uses the concept of 'capabilities' to check the owner of any given reference and disallow read or write permissions to other objects / actors.
[ Parent
| on HN ]
Re:Proposal of a new concurrency model for Ruby 3 [pdf]
by rurban on Thursday September 08, 2016 @09:20AM
(#12452683)
Well, yes. But the pony capabilities system checks ownership at compile-time already and has a much faster GC and smaller objects (actors), while in Ruby 3 you defer the deadlock or race errors to run-time.