2 ms·
This is really interesting. As Ruby gets better async and multiprocessing tools via fibres and ractors it will be interesting to see what style of concurrency
by Lio 3y ago
This is really interesting.
As Ruby gets better async and multiprocessing tools via fibres and ractors it will be interesting to see what style of concurrency suits it best. i.e. Go
I've used ConcurrentRuby on JRuby for years as a stable Swissarmy Knife of tools aping the things I'd do in Java.
More recently moved towards the lightweight Async for non-blocking IO.
My gut feeling is that longer term I'll use Ractors more once they mature, not just for parallel processing but because they also provide a way to control side-effects. Probably the best model to copy for that would be Elixir/OTP style.