Re: What about to OPTIMIZE your code, this will help even more !
"You can see the bloat ..."
I can't upvote this post enough.
As a developer who in the 1970s and 1980s wrote software in M6800 assembler for example for nuclear material security and for data reduction in hospital laboratories I'm constantly staggered by the wastefulness of current software trends. I used to take raw calibration and measurement data and turn it into usable diagnostic numbers, in addition to running the feedback loops which stabilized the gain in the nuclear pulse amplifiers of sixteen measurement devices, all inside four kilobytes of code.
Last year I thought about putting a data compression library into some financial software that I started work on in the mid to late 1980s, and which I still suppport.
My software is mostly written in C, with a smattering of assembler. It's a multi-user system which maintains records for stocks, customers, suppliers, sales, purchases, financial transactions, ... basically everything you need to know where you are in a business which buys and sells things. The executable weighs in at just over 600kBytes.
The data compression library I looked at was five times as big. Half the machines running my systems don't even have that much RAM. I thought of a better way.
The thing is, most people nowadays would think three megabytes is on the small side.
Me, I wonder what on Earth all that code can possibly be doing?