Contrast to the heyday of C and C++ when not much else got a look in (Pascal perhaps? Perl probably...)
I think it's fair.
Back in the day, yes, your compiler almost certainly would do that. Now, your compiler might possibly do that. For most working stiffs it won't though.
Ok, my side of the shed's painted now :D
Reminds me of that coworker who thought that OpenCV was basically written in python.
Sure, akshuwally, there are still C and C++ devs out there. Meanwhile a friend has just embarked upon a career as a pro COBOL developer. What of it?
Edit: Also, in the spirit of akshewally, I have just googled up this monster! My word, PHP and Java AND XML... it's like the unholy trinity of HackerNewsbane... https://php-java-bridge.sourceforge.net/pjb/
Those all get compiled into object files and then linked.
The author then goes and removes the lto-related code via objcopy. Which is fine, and great, and useful if you care about size more than having link-time optimization enabled for your end users.
But if you are just going to turn around and remove it, you probably shouldn't include it in the first place, which makes the original analysis of 132MB vs 15MB a little misleading. It should be more like 50MB vs 15.
To this day I'm astonished that it's not just tar. Or pax. Or even cpio! Or literally any file format that has any other use.
Why do you find it surprising that the archive format from that time was used to archive a bunch of files?
I wasn't alive but I'm pretty sure ar wasn't only used for this purpose in unix.
It's surprising because we still use it today, not because it was used at the time.
cpio is pretty reasonable though.
zip is actually pretty great and I've been growing increasingly fond of it over the years.
I'll grant you "kind of terrible", but what's hard to correctly implement about tar? It's just a bunch of files concatenated together with a tiny chunk of metadata stuck on the front of each.
Rust lets you choose between generics and trait objects, but this is a viral change that sometimes means that large sections of code must be rewritten. There is also an optimization that turns generics into virtual dispatch if deemed beneficial, but I'm not sure how well it works
Lots and lots of code is still C and C++. That's not really "back in the day".