Re:Ruby 3.0 Preview 1
by joelbluminator on Saturday September 26, 2020 @05:26AM
(#24597496)
I will watch your presentation but if u could put my mind at ease: Is the scheduler a kind of event loop (like Node) implemented in Ruby? So if I wanted to use this thing everything I write would have to be callback based ?
[ Parent
| on HN ]
Yes, it lets you implement event loop for Ruby. We use fibers to avoid callback hell and avoid rewriting existing code. This is covered in my talk here: https://www.youtube.com/watch?v=qKQcUDEo-ZI
Re:Ruby 3.0 Preview 1
by joelbluminator on Saturday September 26, 2020 @07:03AM
(#24597876)
Hope it's alright to ask you a personal question: How did you get to the point you can work with Ruby internals so well? Did you come from a C background or had some backgrounds with VM's / programming language design?