Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Ladsoft / CC386 back online (Announce)

posted by Khusraw, 01.03.2008, 13:51

> And then the program can't use smart-linking to weed out all the unused
> Allegro functions, and the application/run-time is even bigger than it
> would have been if allegro had been statically linked in the first place.

The fact that in case of a primitive OS like DOS sometimes more memory is used at run-time is irrelevant IMO considering the freed disk space. It is bad programming practice to link a library just to use a small part of its code.

Sometimes code can't be statically linked because of conflicting licence issues. And if you don't have the source code of a program and there is a problem on your system with a part of its code, if the code is included in a DLL, you can simply replace it with a more compatible one or write your own if you know the API.

> And you still have to deal with all the version issues.

In most cases if you use the newest version there are no problems. Even if there are such situations, they are marginal in practice. How many times you bumped into this trouble?

> Application-side DLL's are generally a bad thing IMO.

There are PROs and CONs concerning the use of DLLs, but PROs are dominant IMO. If you don't like it, don't use it.

 

Complete thread:

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