4 ms·
This gem is almost a decade old (although looks like it's been updated to work with fibers?). There's a bunch of gems that allow for asynchronous/concurrent an
by Mikeb85 5y ago
This gem is almost a decade old (although looks like it's been updated to work with fibers?). There's a bunch of gems that allow for asynchronous/concurrent and/or parallel execution for Ruby. It looks like a nice enough gem but it's not particularly novel. Seems like it's just trying to ride JS' popularity with the name. Ruby threads also allow for non-blocking operations.
Edit - this isn't some new paradigm for Ruby. It's a gem... A bunch of others ("Parallel", "Concurrent-Ruby", "Eventmachine", etc...) have been around forever and do similar things.
Edit2 - https://rubygems.org/gems/async https://rubygems.org/gems/async
- brunosutic 5y ago> This gem is almost a decade old Hm, the first commit to the gem was in 2017. The gem was not "advertised" so that the interfaces can be polished and done right. Async gem is hugely improved with Ruby 3.0 release (from December 2020) when Ruby language added "fiber scheduler" feature just to integrate better with Async gem.
- Mikeb85 5y agoRubygems.org has the first commit at 2013. Unless the gem changed ownership.
- brunosutic 5y ago> the gem changed ownership I think the gem did change ownership at some point. The first couple gem releases from 2013 were yanked.
- Mikeb85 5y agoDifferent author credited but the same owner the whole time. So might be different. The library that async is based on is the same owner as well. Edit - the owner in 2013 is the same as the owner of the current gem and main contributor on Github. So yes it seems like it's been around since 2013.
- jrochkind1 5y agoHow do you look up who the gem owner was at a point in past time?
- ioquatix 5y agoThe gem namespace was transferred to me some time around 2017.
- going_to_800 5y agoHow this gem compares to other similar gems? just because it doesn't use threads?
- Mikeb85 5y agoThere's lots of Ruby concurrency gems. OP makes it sound like it's a new runtime or paradigm... It's just a concurrency gem.