3 ms·
"safe C" and "unsafe Rust" sound like variant languages to me.
by Dylan16807 7y ago
"safe C" and "unsafe Rust" sound like variant languages to me.
- dependenttypes 7y agoHow is "safe C" a variant language when it is within what the standard allows?
- Dylan16807 7y agoThe unsafeness of C is pretty widespread and fundamental. Whatever code you end up with is either going to be incompatible with normal compilers, or it's going to be so full of library calls that you can barely recognize it as C anymore. Unless you count sandboxing the entire program, and allowing errors inside the sandbox as long as they don't escape. Then C-to-WASM would be a safe C compiler, I guess.
- dependenttypes 7y ago> Whatever code you end up with is either going to be incompatible with normal compilers I do not believe that this is necessarily the case.