Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
DiThi
on Oct 23, 2017
|
parent
|
context
|
favorite
| on:
Rust to WebAssembly Made Easier
Unstructured control flow is easily emulated with switch statements. In fact it's what emscripten did long before asm.js was made, IIRC.
TazeTSchnitzel
on Oct 23, 2017
[–]
Emscripten has a specially-designed algorithm called relooper for reconstructing control flow (there’s a paper on it!). Switch statements are its last resort.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: