top | item 43483582

(no title)

gibibit | 11 months ago

After a little confusion I see this "Ractor" is the Ruby actors library https://ruby-doc.org/3.2.2/Ractor.html

I was a little confused because when I think of Ractor, it's the Rust "Ractor" library https://github.com/slawlor/ractor which is an awesome library that brings Erlang/OTP gen_server actors to Rust and is very clean. Worth checking out BTW if you use Rust.

discuss

order

ciconia|11 months ago

I think the name of this Ruby feature is unfortunate, as it doesn't really communicate what it's about, and promises something it can't really deliver.

Using ractors as actors in the Erlang genserver sense is not really feasible. They're too heavy, you're not going to start up thousands of them.

Ractors are an interesting feature, with maybe some specific applications related to data processing, but they're still highly experimental and have yet to be understood and embraced by the Ruby community.