News for hackers. Stuff that matters.
Re:WASIX, the Superset of WASI Supporting Threads, Processes... by sitkack on Tuesday May 30, 2023 @04:18PM (#36130132)
You are right about mostly everything except all the flaws of C/C++ making it into Wasm. Wasm still has CFI (Control Flow Integrity) and if you don't take the address of a stack variable, no C stack entry will be made, so much of the stack is invisible to user code (C/C++ code).

You can still corrupt memory, you can't implement ROP or subvert control flow in a non data-dependent way.

Re:WASIX, the Superset of WASI Supporting Threads, Processes... by tokera on Wednesday May 31, 2023 @01:04AM (#36134654)
rust compiles to WASM as-well without those flaws. the fact one even has a choice is the whole point