Article View: news.software.nntp
Article #40181Re: Diablo vs. INN questions...
From: bill davidsen
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
33 lines
2279 bytes
2279 bytes
In article <37f0580c$0$7749@news.execpc.com>, Joe Greco <jgreco@ns.sol.net> wrote: | Which is what makes filtering under INN a perfect bitch; you have to use | Perl. Some of us prefer to code filters in C, or shell, or whatever. Some | of us still do not speak Perl. They would be even faster in assembler! Of course they would take forever to write, etc. The reason for using perl is that it has the string manipulation most filters really need, extended regular expressions, etc. C is just not a good string processing language. I would use it for something which had to be exceptionally fast, but news filters only need to be vary fast, and perl does that well. My timer stats usually show history lookup and perl filters use about the same cpu, and I can live with that. BTW: I am not a perl enthusiast, but I am not only a tool using mammal, but a "right tool" using mammal, and perl is a better tool than C in terms of time to write code, and code readability (means more maintainable, obviously). I still do log analysis in AWK, because the mawk interpreter is way faster then perl on linux, BSD, Solaris and AIX, at least when you have to read in a bunch of lines and look at them. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Technical Details
Message-ID:
<7sr01r$ong$1@newssvr02.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<brad-2709991944100001@brad.techos.skynet.be> <yl4sggteag.fsf@windlord.stanford.edu> <37f0580c$0$7749@news.execpc.com>Show Full Headers
Complete Article Headers
Message-ID: <7sr01r$ong$1@newssvr02.news.prodigy.com> Subject: Re: Diablo vs. INN questions... Date: Tue, 28 Sep 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <brad-2709991944100001@brad.techos.skynet.be> <yl4sggteag.fsf@windlord.stanford.edu> <37f0580c$0$7749@news.execpc.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 530380750 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr02.news.prodigy.com 938541947 25328 199.4.137.118 (28 Sep 1999 18:05:47 GMT) Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com