Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cryptonector
on Nov 17, 2021
|
parent
|
context
|
favorite
| on:
Java Virtual Threads Preview
CPS == callback hell
async/await == the syntax and compiler help you manage the callback hell
skyde
on Nov 18, 2021
[–]
so different syntax but they compile down to the same thing?
cryptonector
on Nov 18, 2021
|
parent
[–]
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:
async/await == the syntax and compiler help you manage the callback hell