3 ms·
> Ruby doesn't have built in concurrency like Go does Seriously. Pretty much all languages have support for concurrency via threads. Ruby even have the equival
by byroot 11y ago
> Ruby doesn't have built in concurrency like Go does
Seriously. Pretty much all languages have support for concurrency via threads. Ruby even have the equivalent of channels since a decade: http://ruby-doc.org/core-2.2.0/Queue.html http://ruby-doc.org/core-2.2.0/Queue.html
Now if you meant to talk about the GIL, well it prevent parallelism only for purely CPU bound tasks. And in the context of a web app, if I have a CPU bound tasks that I can just fire and forget, I don't want to execute it on my frontend server anyway.
- rakoo 11y ago> > Ruby doesn't have built in concurrency like Go does > Seriously. Pretty much all languages have support for concurrency via threads. You missed the most important point: like Go does