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

>Because Node.js has no threading, async I/O is the only choice. Result: 100% of the libraries are async I/O

All async I/O functions have a corresponding sync version.

E.g.

  const buffer = fs.readFileSync(path);


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: