Y
Hacker News
new
|
ask
|
show
|
jobs
by
pcwalton
703 days ago
If you're allocating a call stack per thread you might as well just use actual threads.
2 comments
anonymoushn
703 days ago
This obviously doesn't work. Maybe you can try refactoring a console emulator that uses its stack switching primitive millions of times per second to use threads instead and let us know how well it runs.
link
littlestymaar
701 days ago
But you lose the async/await syntax (which I'm addicted to because it makes blocking point explicit, like `?` makes error explicit).
link