3 ms·
> Let's say you want to read a BMP file. You unquestionably shouldn't use C++ or Rust, you should use WUFFS to write this portion of the software, this way you
by tialaramex 3y ago
> Let's say you want to read a BMP file.
You unquestionably shouldn't use C++ or Rust, you should use WUFFS to write this portion of the software, this way you get the absolute safely you presumably expect and also you get much better performance than you'd get from hand rolling say C++. You will need to write extensive test suites since the WUFFS tooling doesn't know what a BMP is so your testing is the only way to know you're decoding it correctly - but the safety property drops out of the language design, and while performance isn't magically guaranteed it's much easier to write small fast code in a language designed to help you do that and which also catches every safety mistake you make in the attempt.