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 marcov, 08.04.2009, 10:33

> > > (And to dispel another myth: if GCC is always better than assembly
> > > optimization, then why is GCC compiled by itself so slow??)
> >
> > http://compilers.iecc.com/comparch/article/03-11-086
>
> I really hope that the GCC devs still test on stuff older than a Core 2.
> (Sometimes I regret that developers have such fast machines because I
> think it makes them lazy ... or blind perhaps.)
>
> 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)

> 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....

 

Complete thread:

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