The Treacherous Optimization (2006)
ridiculousfish.com
The Treacherous Optimization (2006)
1–8 of 8 posts
Re: The Treacherous Optimization (2006)
#2Re: The Treacherous Optimization (2006)
#3G/RE/P is the instantiation of the regex model in UNIX, and comes from Ken Thompson directly. Its the same model in ed, and in sed, and awk.
Re: The Treacherous Optimization (2006)
#4The grep author coded with ASR-33 teletype. He didn't eat cheezels at his keyboard AFAIK or mumble. He is a highly educated mathematician. G/RE/P is the instantiation of the regex model in UNIX, and comes from Ken Thompson directly. Its the same model in ed, and in sed, and awk.
Re: The Treacherous Optimization (2006)
#5The grep author coded with ASR-33 teletype. He didn't eat cheezels at his keyboard AFAIK or mumble. He is a highly educated mathematician. G/RE/P is the instantiation of the regex model in UNIX, and comes from Ken Thompson directly. Its the same model in ed, and in sed, and awk.
A somewhat relevant read from the author: https://lists.freebsd.org/pipermail/freebsd-current/2010-Aug...
I imagine the author of grep, Ultimate Unix Geek, squinting at vi;
Either qualify "which grep" or define "author" because to me, Cervantes wrote Don Quixote, not the translator.
Re: The Treacherous Optimization (2006)
#6New versions of grep just call regexec(3): https://github.com/apple-open-source-mirror/text_cmds/blob/9...
Re: The Treacherous Optimization (2006)
#7New versions of grep just call regexec(3): https://github.com/apple-open-source-mirror/text_cmds/blob/9...
Eh, well... that's not gnu grep. Also you will notice a call to fastexec four lines above, which uses a somewhat specialized matcher that's not libc regex.
Re: The Treacherous Optimization (2006)
#8The grep author coded with ASR-33 teletype. He didn't eat cheezels at his keyboard AFAIK or mumble. He is a highly educated mathematician. G/RE/P is the instantiation of the regex model in UNIX, and comes from Ken Thompson directly. Its the same model in ed, and in sed, and awk.