| ▲ | cxr 3 hours ago | ||||||||||||||||
Aside from memory safety, which is solved by using a compiler that just doesn't allow unsafe memory operations (so not GCC or Clang upstream), which CVEs specifically would have been ameliorated by a parser written in Rust instead of C? | |||||||||||||||||
| ▲ | eviks an hour ago | parent | next [-] | ||||||||||||||||
Aside from the fact that it's not solved by using an alternative compiler, why would you put the core advantage aside? | |||||||||||||||||
| ▲ | duskwuff 2 hours ago | parent | prev [-] | ||||||||||||||||
> Aside from memory safety, which is solved by using a compiler that just doesn't allow unsafe memory operations I don't see how that's possible without turning the language into something that isn't C, either by adding significant new functionality (e.g. fat pointers) or subtracting enough functionality that it's a much less capable language (e.g. disallowing dynamic memory allocation). | |||||||||||||||||
| |||||||||||||||||