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, 07.04.2009, 00:27

> > > You could argue that writing stuff in C is better, then :-D
> >
> > No way! What you save in source size is lost in .EXE size.
>
> I'd actually forked DOS-C if I intended writing stuff in C.

I don't prefer C, in fact I think it's overkill sometimes.

> > Ideally, mix and match C + ASM for best results either way.
>
> Nah, I prefer writing ASM only. What you save in the .EXE size you lose in
> time, but who cares how long it takes, anyway? It's not like I'm doing it
> for money.

I always find I'm fighting against the compiler. It's no faster from my experience, esp. when compilers are so much slower than assemblers. After all the "but compilers are so smart and computers are so fast", then why the hell does it (allegedly) take 24 hours to build Firefox??? :confused: (And to dispel another myth: if GCC is always better than assembly optimization, then why is GCC compiled by itself so slow??)

 

Complete thread:

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