3 ms·
I think OP was implying not to write new code in C. If possible, we can also use replacement tools written in safer languages if they offer the functionality we
by apta 7y ago
I think OP was implying not to write new code in C. If possible, we can also use replacement tools written in safer languages if they offer the functionality we need (e.g. `ripgrep` instead of `grep`, or web servers written in safe languages over those written in C/C++).
- boomer_joe 7y agoripgrep isn't POSIX compliant. It's hardly a proper replacement.
- burntsushi 7y agoRight, it is intentionally not POSIX compliant. This saves fairly significant development effort and also permits expanding the tool to be more user friendly, such as transparently searching UTF-16 encoded files. ripgrep cannot be a drop-in replacement. Despite that, it can certainly replace grep in a wide variety of use cases. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#posix4ever https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...