4 ms·
ioquatix (Samuel Williams, the author) is doing tons of great work for Ruby at the moment. You'll want to check out, for instance: - https://github.com/socketr
by thibaut_barrere 7y ago
ioquatix (Samuel Williams, the author) is doing tons of great work for Ruby at the moment. You'll want to check out, for instance:
- https://github.com/socketry/async https://github.com/socketry/async "An awesome asynchronous event-driven reactor for Ruby"
- https://github.com/socketry/falcon https://github.com/socketry/falcon "A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS"
I can recommend following him on twitter too: http://twitter.com/ioquatix http://twitter.com/ioquatix
- giu 7y agoIn the linked article, the author also included some videos of himself implementing some of the presented parts e.g. exclusive Fibers [0], including writing the necessary C code using the Ruby C API. Recording yourself writing code and then publishing it takes quite a lot of courage, even moreso if it's a complex topic such as the one presented. Additionally, it's such a valuable resource: You can follow the whole implementation step by step. That's just awesome. [0] https://www.youtube.com/watch?v=cNaqbeagqUw https://www.youtube.com/watch?v=cNaqbeagqUw
- tylerscott 7y agoThanks for the link. This is great!
- djohnston 7y agoThis is really cool. Do you have any recs for similar vid of someone hacking on c python API? I want to gain a better understanding of how these langs interface w their implementation, but Ruby isn't really in my wheelhouse.
- ioquatix 7y agoThe internals aren't THAT different, so while I can't really answer your question (I'm not working on CPython), you might still find it interesting from the POV as to how interpreters work.
- psychoslave 7y agoThat's even super awesome. I didn't watch the whole thing yet, but he seems to comment extensively, as opposed to staying quiet on the inner thoughts during the whole thought process – which is of course the most crucial part. Thanks for sharing.
- bloudermilk 7y agoIt's fascinating how many event-driven IO libraries and associated web servers have come in and out of fashion in the Ruby community over the last decade. I hope this or another effort finally sticks and becomes part of the stdlib, so we can have a real lasting ecosystem built around it.
- mekster 7y agoWhy would one want to replace nginx as a reverse proxy? nginx is one of the most battle tested code on earth and I don't see a benefit in replacing it with a ruby implementation. Also why are there a new http server coming out for ruby like every 3 years? Is it not suitable to just put nginx at front and the app server in the back?