[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: off topic - diff for html docs?
On Fri, 2 Oct 1998, Stanislav Malyshev a.k.a Frodo wrote:
I said I won't start a war, but, heck, a few bullets...
> On Fri, 2 Oct 1998, Peter L. Peres wrote:
>
> > > > what about comments -> Perl is wonderful
>
> > I have a strong dislike of Perl as a tool used to rummage in the
> > contents
>
> You are free to try and implement the said regexps by hand in any case you
> need. One that likes meaningless work always can do it.
Not by hand, by flex. Perl's parser is written in flex/bison, so using
Perl you do juts THAT except slower. Do I need to go on ?
> > when the words 'fast', 'robust' and 'optimized' are uttered in connection
> ^^^^^^
> This one I don't get. Why PERL might be not fast, is clear for me, but why
> your C program will be more robust, is unclear at all.
Mostly because no green schmink who thinks he's an artist is going to
'improve' it in his lunch break, inserting the worst security hole, a new
web worm and two trojan horses to fit through side by side in a cgi script
running on a server used by people with *initiative*.
> > then Perl (by someone else), then in C, by me, and gprofed until it
> > reached disk speed at which point I left it alone. This is the ONLY cgi
>
> I fear you lost on it more time that all of it's optimized runs gained or
> will gain, added together for about 10 years from now. First law of
> optimization is "Don't". ;) Unless you are doing it for your own
> personal fun, which is another tale.
The first law of adding web access to manpages on a system that is loaded
so bad it barely moves is to use a blindfold and earpops on your employer.
the second is, to make the whatever you do so perfect and glitch-free that
when you take the blindfold and the earpops off, he won't notice it works
slower, and whatever it is you added, will be perfect.
Peter