Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Fallacies that advocate software bloat (Miscellaneous)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 29.12.2025, 13:01

> > Breaking up the source into smaller "modules" doesn't actually decrease
> the
> > bloat -- it just hides it.
>
> I thought joining all of the modules into one single source file would
> increase the amount of memory required to compile the program, versus
> compiling a bunch of little objects and linking them together.

The debugger's main source (files not in source/eld/ or source/help/) is actually assembled as a single stream of source text, using text %include directives from debug.asm to load everything. The advantage is that you can do things with the multi-section format not supported by an assembler + OMF linker combination. The disadvantage is it can take as long as 30s and as much as 128 MiB to assemble the entire image.

> Also, smaller modules would be easier to grasp in the biological memory of
> the software maintainer. I guess that would be "hiding" the complexity,
> kind of like OOP design.

Indeed, this is why I split the source text into many files.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
23153 Postings in 2179 Threads, 404 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum