Article View: news.software.nntp
Article #40233Re: Diablo vs. INN questions...
From: Joe Greco
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
59 lines
3756 bytes
3756 bytes
In news.software.nntp article <7stak5$vpc$1@newssvr02.news.prodigy.com>, davidsen@tmr.com (bill davidsen) wrote: :In article <37f10f2b$0$10182@news.execpc.com>, :Joe Greco <jgreco@ns.sol.net> wrote: :| In news.software.nntp article <7sr01r$ong$1@newssvr02.news.prodigy.com>, davidsen@tmr.com (bill davidsen) wrote: : :| : 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. :| :| I don't know about your dialect of C, but mine does happen to have :| extended regular expressions. As part of libc, even. But you do :| need to specify REG_EXTENDED. : : The issue is more that of time to write the string stuff in C using :procedure calls, the readability of the code afterward, etc. Regular :expressions work fine in C, but they are not a known familiar part of :the language which can be maintained by readily available programmers. : : It's a lot easier to find people who know perl than C regex, and the :code is far easier to understand, at least if it's well written. Well written and Perl don't belong in the same sentence, unless you're one of the 5% of software developers who claims to be fluent in Perl that actually has a clue about how to write good (and also secure) Perl. In my experience, the percentage of C programmers who can write good (and also secure) C is somewhat higher, partly because C has less ambiguity. : [ points about string and regex libraries ] : : The problem with extensions is that you have to write, document, and :maintain them. Where I am is not where I will be in a few years, I don't :want to be tied supporting stuff because no one else understands what I :did, however fast and elegant. : : Obviously you can do this stuff in C, it's questionable if that's a :good decision based on total cost of ownership of the code. And I bet :you can learn perl faster than you learned Diablo! TCO is meaningless around here. I'm a one-man shop. There's no worry about supporting stuff because it's a sure bet that I've got to... because no one else ever will. This is a bit different than the production type environment you might find at an ISP with the associated high rates of turnover... when I stop supporting it, *.nntp.sol.net, my readers, and my transit servers will go away. Poof. Not that I'm planning on it, or anything. And you lose on the Perl bet. I've been trying to learn Perl since 1995 (although I think I did figure out how to write some Perl stuff in the years predating that). I only started working with Diablo in 1997. And we're all aware that I can at least make a Diablo system work, which is more than I can say about what I can do with a Perl program today. Grin!, ... JG
Technical Details
Message-ID:
<37f268df$0$10178@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-mailReferences:
<brad-2709991944100001@brad.techos.skynet.be> <7sr01r$ong$1@newssvr02.news.prodigy.com> <37f10f2b$0$10182@news.execpc.com> <7stak5$vpc$1@newssvr02.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <37f268df$0$10178@news.execpc.com> Subject: Re: Diablo vs. INN questions... Date: Wed, 29 Sep 1999 00:00:00 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <brad-2709991944100001@brad.techos.skynet.be> <7sr01r$ong$1@newssvr02.news.prodigy.com> <37f10f2b$0$10182@news.execpc.com> <7stak5$vpc$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-mail X-Deja-AN: 530829656 Sender: jgreco@earth.execpc.com X-Trace: S=T[4Gb?NPaI5[332>a9YkbfNiaEHUgJgRYcgIRLSUEmiaIm7FDTk7ijC`9h[Ke7ai]d4H87I=[?bGhaMU<hZ^NgF4FfQ?Mh6Um Organization: sol.net Network Services - Milwaukee, WI Newsgroups: news.software.nntp X-Complaints-To: abuse@execpc.com