Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's right - Async Ruby uses fibers (stackful coroutines) as a concurrency primitive. There's a lot to say about this, but the end result is that we get to write simple synchronous code and it can run asynchronously.


N00b question: would the fibers being introduced in PHP 8.1 enable the same functionality in that language?

https://php.watch/versions/8.1/fibers




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: