🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40230

Re: Diablo vs. INN questions...

#40230
From: bill davidsen
Date: Wed, 29 Sep 1999 00:00
39 lines
2625 bytes
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.

	[ 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!

-- 
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: <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
References: <brad-2709991944100001@brad.techos.skynet.be> <37f0580c$0$7749@news.execpc.com> <7sr01r$ong$1@newssvr02.news.prodigy.com> <37f10f2b$0$10182@news.execpc.com>

Show Full Headers
Complete Article Headers
Message-ID: <7stak5$vpc$1@newssvr02.news.prodigy.com>
Subject: Re: Diablo vs. INN questions...
Date: Wed, 29 Sep 1999 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <brad-2709991944100001@brad.techos.skynet.be> <37f0580c$0$7749@news.execpc.com> <7sr01r$ong$1@newssvr02.news.prodigy.com> <37f10f2b$0$10182@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: 530742907
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr02.news.prodigy.com 938618310 32556 199.4.137.118 (29 Sep 1999 15:18:30 GMT)
Organization: TMR Associates, Schenectady NY
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com