3 ms·
I don't know what you mean. In Ruby, MRI multiplexes over async IO if you use sync IO primitives, and using async IO directly is not a problem. In any case, m
by vidarh 10y ago
I don't know what you mean.
In Ruby, MRI multiplexes over async IO if you use sync IO primitives, and using async IO directly is not a problem.
In any case, most of my code wait on external events (clients, databases) so it's very rare for the Ruby part to be worth optimising. I spend a lot more time doing things like optimising database indexes and the like.
Of course there are plenty of areas where the balance there would be very different.