3 ms·
Does it matter? Disk space and ram are both cheap and plentiful. That just sounds like promoting a culture of waste to me. "Do we need to care about resources
by kelnos 16y ago
Does it matter? Disk space and ram are both cheap and plentiful.
That just sounds like promoting a culture of waste to me. "Do we need to care about resources?" "Nah, disk and RAM are cheap, and our users won't mind paying for more of it."
What happened to elegance, efficiency, and modular, maintainable design? Just because you have a shiny box with 8GB of RAM and a terabyte of space, it doesn't mean everyone does, or everyone should have to.
The difference in disk space or ram taken by apps on an average OSX desktop, and average Windows desktop, and an average Linux desktop seems to be negligible.
I'm not sure you can meaningfully make this comparison since the platforms (at least at the GUI level) are quite different. A better test would be to take a "standard" Linux system, and then create a "bundled" system that has each app in its own directory with all its dependencies bundled with it (perhaps leaving out some of the fundamental ones like libc). A little bit of common reasoning would suggest that memory and disk usage would be affected greatly.
- vilya 16y ago> What happened to elegance, efficiency, and modular, maintainable design? Each app having it's own copy of the libraries it needs is actually MORE maintainable. It's not uncommon for a newer version of a library to introduce a change which breaks something in your app. One example from my work: we tried building with a newer version of Qt and all our text was suddenly getting rendered upside-down due to changes in how Qt uses OpenGL. If we had been using the system copy of Qt, it would have been our customers seeing this problem instead of our dev team. There are other advantages too, but to my mind this alone is enough reason to bundle libraries with your app.
- kelnos 16y agoBut is that the common case? Or is the common case that, on occasion every now and then an incompatible change is introduced, but much much more often bugs and security issues are fixed that your users will benefit from immediately, and not have to wait for you to release a new version with new bundled libraries. I'm a bit surprised that the Qt guys would make an incompatible change during a stable series. Is it possible you were relying on undocumented behavior that was subject to change?