4 ms·
Can someone explain this to me like I'm a 31 year old?
by anderspitman 6y ago
Can someone explain this to me like I'm a 31 year old?
- mikewarot 6y agoI've been programming since before you were born... and this is the most impressive hacking feat I've ever seen. A single executable, that doubles as a valid ZIP file, that you can put a complete website into, also doubles as a valid executable on Windows, Mac, Linux. The build infrastructure is a complete reworking of C to make it far more portable than even K&R thought possible. I probably wouldn't have believed it possible, but here it is!
- anderspitman 6y agoThanks!
- drran 6y agoMulti OS/arch executables exists for decades. They were called fat-binaries[0]. Old trick is new again. [0]: https://en.wikipedia.org/wiki/Fat_binary https://en.wikipedia.org/wiki/Fat_binary https://en.wikipedia.org/wiki/Universal_binary https://en.wikipedia.org/wiki/Universal_binary
- Wowfunhappy 6y agoBut compared to what jart has done, those were effectively cheating. ;) They just smooshed multiple binaries into a single file.