Linked by bcavally on Mon 21st Dec 2009 17:18 UTC
BeOS & Derivatives Today there are many operating systems available. Every vendor or community round it tries to make it as good as possible. Having different goals, different legacy and different cultures, they succeed in it more or less. We (end users) end up with big selection of operating systems, but for us the operating systems are usually compromise of the features that we would like to have. So is there an operating system that would fit all the needs of the end user? Is is the BeOS clone Haiku?
Permalink for comment 400718
To read all comments associated with this story, please click here.
nt_jerkface
Member since:
2009-08-26

Unix was not born with shared libraries - they actually arrived there later (mid 90s), and arrived largely to reduce RAM footprint, since multiple processes can now share the same code pages.

Unix has had shared libraries before the mid 90s, but I'm guessing you mean the repository systems that offer a greater level of management. RAM is also no longer an issue when the typical notebook comes with 2 gigs.


Today shared libraries (or DLLs or frameworks) largely exist to minimize servicing problems.


They require far more maintenence than software distribution systems that rely on developers to provide a self-installing executable. They also aren't as reliable for application stability.


If a security bug is found in one component, a shared library enables it to be patched once.


The corollary is that if a security bug isn't found it can be exploited in multiple applications. However a security breach from an exploit in a common library is rare. It's far more likely to exist in the main executable. Furthermore the repository system presents a security risk since a security update can be delayed until dependency issues are resolved. Allowing multiple versions of a program is also a problem.

The main benefit of the repository system is that software is provided to the user from a trusted source but the shared library aspect isn't needed to achieve this.


The basic architecture of shared libraries + smallish program specific code hasn't changed in a long time.


You would describe Firefox and OpenOffice as having smallish program specific code?

I'm not sure why people still defend the shared library system when its benefits are so limited on modern machines. It's a mediocre system at best and a nightmare for users at worst. Users should not have to get on a forum to ask for help in fixing Firefox after it has been broken from an upgrade.
http://forums.opensuse.org/network-internet/422267-firefox-broken-a...

Linux distros should look to GoboLinux as an example of how to move away from the shared library system:
http://www.glenscott.co.uk/2008/10/22/gobolinux-proves-that-amigaos...

Reply Parent Score: 2