Oh this is neat!
Coincidentally, I was reading up about Node.js event loops and end up reading about Deno as well on the following talk/slides.
- Deno internals - how modern runtime is built https://docs.google.com/presentation/d/1Yz1At5UM0tzdgRZr1qRv...
- The talk https://www.youtube.com/watch?v=AOvg_GbnsbA&t=2113s
I know Bun is still new but would love to read up something similar as well. For now, I am just diving straight into Bun source code and trying to read up.