Re:My C code works with -O3 but not with -O0
by boomer_joe on Thursday January 16, 2020 @01:36PM
(#22067434)
ripgrep isn't POSIX compliant. It's hardly a proper replacement.
[ Parent
| on HN ]
Re:My C code works with -O3 but not with -O0
by burntsushi on Thursday January 16, 2020 @04:06PM
(#22068922)
Right, 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#pos...