Iain Hibbert wrote: > > listen Clarence, nothing wrong with C - Amiga OS was mostly written in C > and it multitasked fine (some optimised asm for the task scheduler). Most > unix is written in C and > it did multitask just fine back in the 70's. I did see some comments > about C programs being large before on this list, was that you?
Probably. No one else seems to care. ;-) > Its > not the C program but the lazy programmer using badly designed > libraries such as stdio where if you use a little bit, you get the whole > lot. I used to write very small C programs for Amiga without standard > libraries - sure, you might get 5% smaller and 10% faster by using > assembler but then it takes 100% longer to write and the source code is > 300% larger. Also much more difficult to port. Iain, I shouldn't allow myself to get sucked into this vortex again, but I'm stupid and I've got a dependency. :( More difficult to port ? Yes. I don't care any more than the "C" programmer cares how big his program is. 100% longer to write ? No. 1000%. I don't care about that either. There is no free lunch. Not even in a fast-food restaurant. 300% larger source ? Line count, not byte count. Not important to me. 10% faster ? YOU may be able to write "C" code that runs only 10% slower on the same machine and produces the same result as ASM but no one writing the applications we are all so familiar with does that. The normal ASM to C speed factor is 3x (300%). Unless it's a contest. The normal ASM to C size factor is 1/10 (10%). Average, all uses. Why is FIXMEM.exe 8k ? Why is it an EXE ? Blame it on lazy programmers using stdio if you wish. That's all of them. <G> To me, normal factors apply to almost all programs we download. Like Arachne. Arachne is very small for what she does in comparison to the bloat of other browsers. But, I've seen the source. It can run as a .COM in ASM. You are right tho, I probably don't have enough lifetime left to convert it. > hopefully next week I have a CD-ROM > drive and can install NetBSD. enjoy. - Clarence Verge -- - Help stamp out FATWARE. As a start visit: http://home.arachne.cz/ - The internet is infected - Windows is a VIRUS !! --
