Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

C vs. ASM (size vs speed) (Developers)

posted by Rugxulo Homepage, Usono, 08.04.2009, 19:24

> > EDIT: Headers vs. units still doesn't explain why successive GCCs keep
> > getting slower, even with -O0.
>
> I've no idea. I've never benchmarked gcc versions against itself (and
> never used gcc on dos in practice)

Never used DJGPP? Well, you are odd. :-D

> > It shouldn't have to do that much more
> > these days than it did ten years ago (for C89, at least), right?
>
> If so, why don't you use a ten years old version? If it doesn't matter....

I do, remember my GCC 2.95.3 / BinUtils 2.16 / DJGPP 2.03p2 single-floppy package? But that was more of a size consideration. If I could've crammed the latest, I probably would have. The whole idea was the have a stand-alone GCC compiler that was as new as possible (-mcpu=pentiumpro) but still small and useful. Still, it should be "good enough" for normal ANSI C stuff. (Okay, March 2001 -> April 2009 is only eight years, but since you consider WinME's 8.5 to be 10, I guess this counts too, heh.) BTW, it matters less on newer machines, but it still does matter, unless you like buying new cpus every six months (I don't).

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 259 users online (0 registered, 259 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum