| ▲ | andyferris 2 days ago | |
45% slower to run everywhere from a single binary... with less security holes, without undefined behavior, and trivial to completely sandbox. Its definitely a good deal! | ||
| ▲ | pron 2 days ago | parent | next [-] | |
> without undefined behavior Undefined behaviour is defined with respect to the source language, not the execution engine. It means that the language specification does not assign meaning to certain source programs. Machine code (generally) doesn't have undefined behaviour, while a C program could, regardless of what it runs on. | ||
| ▲ | ben-schaaf 2 days ago | parent | prev [-] | |
Native code generally doesn't have undefined behaviour. C has undefined behaviour and that's a problem regardless of whether you're compiling to native or wasm. | ||