Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by Havoc

1 day ago

How does the no async work? Would have thought Bun would need that

2 comments

Havoc

Reply

valzam  18 hours ago

Async presumably happens in the JS runtime that bun calls into. Just need 1 thread to host that

lukaslalinsky  20 hours ago

People were doing async I/O before coroutines existed. They are using callbacks and their own networking.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities