Glenn McCorkle wrote:
>
> On Sun, 10 Jun 2001 19:42:08 -0500, Clarence Verge wrote:
>
> > There isn't much point arguing, because MOST "C" programmers refuse to
> > believe their code could be less than ideal.
> > The only thing that really matters is results, and EVEN THEN, when it is
> > SHOWN that the ASM routine runs 3 to 10 times faster and is 5 to 10 times
> > smaller, they ask "Who cares ? Get a new computer !"
>
> > That's the problem. :(
>
> Well....
> What you say might be true of *some* "C programmers". :(
>
> However, it is most certainly not true of *this* "C programmer".
>
> *This* "C programmer" is simply too lazy to learn ASM. <VBG>
>
> But I *do admitt* that ASM is better in almost all aspects than is C.
>
> The only aspect of C that I will wins "hands-down" over ASM......
> "amount of time from inseption to completion"
You are one of only 2 or 3 people that I am sure can make an unbiased
judgement on the merits of C vs ASM vs C but the last line above is
only valid for a programmer that is familiar with both languages.
It would take me several years to complete a "C" version of any single
day "ASM" project. <GG>
> Here's a little project for you.
> See how long it takes to translate drop.bas to drop.asm and assemble it
> to run on a PC.
Challenge accepted. I have drop.bas. I'll start the clock some time this
weekend I hope. Trust me.
> Then try.... drop.c to drop.asm <g>
Challenge declined. <G>
I would die of old age first. I'm not to lazy to learn "C".
I'm too something (yellow pin) else. <g>
> Oh yeah,
> drop.c was compiled by Borland Turbo-C/C++ v3.0 to run on a 386 with the
> option to use the math copro if found at run time.
> (a 486sx25 without a copro takes about 2min. to complete the drawing)
>
> Can you do *that* in ASM ?
Yup. Which one do you want ? I'd prefer the non-copro version. It would
be easier for me and would run faster than the copro version. Trust me.
> And... convert drop.bas to drop.asm in 2 or 3 hours??? <VBG>
Don't know yet. <g>
I'll be honest. I expect the conversion will take longer than your
.bas to .c but there is a matter of quality involved here.
There is NO free lunch. You get what you pay for.
Etc.etc....
- Clarence Verge
--
- Help stamp out FATWARE. As a start visit: http://home.arachne.cz/
- The internet is infected - Windows is a VIRUS !!
--