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

CPS == callback hell

async/await == the syntax and compiler help you manage the callback hell



so different syntax but they compile down to the same thing?


Yes, roughly. That or compile to co-routines (which is green threads).




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: