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

You actually can spin up a background thread in the browser now using web workers[0]. Although, like you mentioned, you don't actually need threads for concurrency. The event loop handles concurrency even in a single threaded environment.

[0] https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers...



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: