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

Linux has already optimized threads extensively; AFAIK the overhead is mostly in the CPU at this point (fortunately Intel/AMD continue to reduce system call and context switch overhead).

Using raw threads also has its own footguns but fortunately we have libraries like j.u.c and TBB to provide safer abstractions over threads. Unfortunately these libraries matured after async so most programmers aren't familiar with concepts like fork/join.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: