Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
_flux
34 days ago
|
parent
|
context
|
favorite
| on:
Async Rust in Three Parts
However, if you need a state machine, async/await is a super-elegant way to express it. No other language provides as nice way to do it.
I believe best you can do in other languages is using continuations as the state.
metaltyphoon
32 days ago
|
next
[–]
C# async transform into a state machine too.
worik
33 days ago
|
prev
[–]
State machines are the easy part.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I believe best you can do in other languages is using continuations as the state.