3 ms·
another cool ruby library for async is https://github.com/digital-fabric/polyphony https://github.com/digital-fabric/polyphony
by claudiug 5y ago
another cool ruby library for async is https://github.com/digital-fabric/polyphony https://github.com/digital-fabric/polyphony
- brunosutic 5y agoPolyphony monkey-patches Ruby core methods... this has always prevented me from experimenting more with it. Source link: https://digital-fabric.github.io/polyphony/faq/#why-does-polyphony-reimplements-core-apis-such-as-ioread-and-kernelsleep https://digital-fabric.github.io/polyphony/faq/#why-does-pol... > Polyphony “patches” some Ruby core and stdlib APIs, providing behavioraly compatible fiber-aware implementations
- ksec 5y agoI think this deserves more attention, especially it is coming from the original author of sequel. >Polyphony is a library for writing highly concurrent Ruby apps. Polyphony harnesses Ruby fibers and a powerful io_uring-based I/O runtime to provide a solid foundation for building high-performance concurrent Ruby apps. https://noteflakes.com https://noteflakes.com