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, 09.04.2009, 00:55
(edited by Rugxulo on 09.04.2009, 01:12)

> > > 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
>
> For the few C work I did, I had access to gcc on BSD before DJGPP existed.
> There was never reason to torture myself with it.

It's not torture. :-) And it's been around since 1989 (history).

> > But that was more of a size consideration.
>
> Ah, that's probably why.

Actually, I'm fairly certain even 3.4.4 (or similar) would've been good enough for me. But 2.95.3 was the last of its branch, and something increased the size a lot after that. I wasn't willing to sacrifice the stable 2.03p2 library or some auxiliary tools (make, rm, cwsdpmi, wmemu387) just to fit a slightly bigger compiler.

> > 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).
>
> My first DOS PC in '92 already had a harddisk, so I never bothered to
> torture myself with floppy versions on PC.

It's not a "run from floppy" version, it just fits compressed on a single 1.44 MB (not overformatted) floppy. The idea is to make migration between machines easier, to have a small but good ANSI C compiler (32-bit, POSIX, LFN). It only needs 6 MB of space (or 3.5 if UPX'd), which is good for hard disks or even RAM disks. And I finally got it to pack with .7z, so you don't need a bunch of RAM to decompress anymore either (tested unpacking successfully on my 486 Sx/25 w/ 8 MB of RAM without swapping). I consider this the spiritual successor of EZ-GCC for v1 (which was quickly outdated) even if not exactly meant to be a 1-to-1 mirror (no G++, no GDB, no GRX).

 

Complete thread:

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