Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: C vs assembler
Message-ID: <1988May26.170534.524@utzoo.uucp>
Organization: U of Toronto Zoology
References: <54080@sun.uucp> <1988May21.030207.25063@light.uucp>, <1552@dataio.Data-IO.COM>
Date: Thu, 26 May 88 17:05:34 GMT

> BTW, I do all my coding in C and ASM. When I have speed problems with a
> function in C, I recode it in ASM...

There is an alternative:  rethink the C function.  The current implementation
of C News (plug, plug) is an order of magnitude faster than our earliest
attempts.  It still contains not one line of assembler.  We *have* spent a
lot of time re-thinking and re-implementing key portions; there are parts
of that code that have been redone from scratch three or four times, each
time as a result of new insights on how to make things faster.  Strategy
beats tactics every time, although it's more work.
-- 
"For perfect safety... sit on a fence|  Henry Spencer @ U of Toronto Zoology
and watch the birds." --Wilbur Wright| {ihnp4,decvax,uunet!mnetor}!utzoo!henry
