3 ms·
Joel writes this like bloat doesn't exist, and discusses how programs are large because of all the features they have. Two contrasting examples spring to mind:
by sliverstorm 13y ago
Joel writes this like bloat doesn't exist, and discusses how programs are large because of all the features they have.
Two contrasting examples spring to mind:
- Outlook 2010 in Exchange mode usually occupies about 50MB of memory, at least for me. Think of all the functionality Outlook 2010 has in those 50MB.
- An old notebook I used a few years ago had a disk-parking feature, in case of drops. The service application that parks the disk (if my memory serves) would occupy about 200MB of memory. Think of all the functionality this program had. It could stop the disk. It could start it. Fantastic.
That's bloatware. Especially as I had 2GB of RAM at the time.
P.S. Yes, many over-large programs can get swapped. No, swap is not a magic solution, and happily tanks performance.
In summary, I do agree with many of the points Joel makes, but I always hope that programmers at least think about memory implications, if only for a little bit. Some co-workers and I were discussing a small utility we were developing. A very simple, fast structure was suggested. We then took a moment to consider memory, and realized in our expected worst-case workload, the process would require upwards of 64GB of RAM. This is why you need to spend at least a moment thinking about memory! It is cheap, but not infinite, and oh-so-easy to chew through gobs.
- TwoBit 13y agoHow could that app possibly use 200MB of memory? Was that resident memory or simply mapped memory?
- sliverstorm 13y agoHow could that app possibly use 200MB of memory? I don't really know, but all the software for that notebook was impressively bad. The ones the user would interact with were literally the slowest programs I've ever used, and we're just talking about opening menus or clicking buttons under idle load. I still haven't figured out how opening a menu on a 2008 laptop can require 5-10 seconds of compute. So I would conclude, "most likely a complete and utter disregard for limited resources". Which is why I am repelled by memory is practically free, don't even think about it arguments. To my figuring, give it a little attention. Not gobs, but don't pretend memory is a solved problem.
- Pinckney 13y agoSome sort of disk buffer, maybe?
- quink 13y agoThe Bluetooth driver for quite a few Lenovo Thinkpads is a 210 MiB download. It includes btrez.dll (two seemingly near identical copies for x64 and one for x86, each about 25 MB) and all of the .NET 4.0 runtime, among other things.
- agumonkey 13y agoI'd give Lenovo a little slack, because they're (or were a few years ago) probably the only brand to provide an automated driver update program that works pretty fine. It's not light nor fast but still. And since they have to support a ton of different environments I could accept static inclusion of dlls. That said I often avoided installing the bluetooth software stack (almost never used bt) because it was so fat. :)
- quink 13y agoYou mean the same driver update that broke my VPN with no fix no matter how long I looked without a reinstall? 'pretty fine' is always going to be a subjective thing.
- colanderman 13y agoMy wife's HP laptop had some software that monitored the "audio mute" key so it could turn the associated LED on and off. That herculean task required a constant 50% of the CPU.
- sliverstorm 13y agoTo make matters more amusing, this laptop was in all probability dual core, which means the software was pegging one of the cores.
- colanderman 13y agoI think you are right.
- oakwhiz 13y agoA whole CPU just for a single GPIO task? Now that's bloat.
- sliverstorm 13y agoYeah but just think about how quickly they were able to release the software, by using 50% of the CPU. Isn't that what really matters? :)
- gcb1 13y agoHis article is bloatware. He tries to justify hisbloatware work from the past, and only uses false arguments, like dismissing linus argument about having to load a huge program not being an issue, when excel and outlook are still the only applications i use with a damn loading screen... His article uses space and provide no honest statement, hence bloatware.
- nivla 13y ago>Outlook 2010 in Exchange mode usually occupies about 50MB of memory, at least for me. Think of all the functionality Outlook 2010 has in those 50MB. Ohh I wish my beloved thunderbird only took that much memory. I remember it occupied somewhere between 150-250MB on my netbook. It was impossible to keep it running in the background, especially when you only have 1GB of total RAM. My routine was to open, check for mail, close it.. rinse repeat.
- sliverstorm 13y agoIt's really a great example of how well they are actually doing with Office, IMO. I was absolutely floored when I saw how little it uses!
- microcolonel 13y agoEspecially funny when the page with the logic to decide whether or not to park your drive head is in swap.... on that hard drive.