|
|
|
|
|
by amalcon
4453 days ago
|
|
This is such an obvious false dichotomy that I'm sure most people will notice, but I'm pointing it out anyway. We could use something that gives both advantages, like the OCaml I already mentioned. Or, we could take a hybrid approach, where something like Haskell generates C code that provably can't have buffer problems. Or, we could statically verify that the library is written in a known-memory-safe subset of C++. Or, we could use a language like Rust, which (once it's eventually complete) seems ideal for this sort of application. |
|