2 ms·
I'd think the issue would be more build infra, every new variant means you have to build the world again
by xxpor 3y ago
I'd think the issue would be more build infra, every new variant means you have to build the world again
- kergonath 3y agoYes. Also, test it.
- jiggawatts 3y agoThat can also be largely automated.
- brucethemoose2 3y agoLTO does rarely break things in hard to detect ways, but I have never heard of a -march x86 compilation bug.
- jiggawatts 3y agoAgain, compute is surprisingly cheap these days. Work out what it would cost to compile - say - a terabyte of C code at typical cloud spot prices. A large VM with 128 cores can compile the 100 MB Linux kernel source tree in about 30 seconds. So… 200 MB/minute or 12 GB/hour. This would take 80 hours for a terabyte. A 120 core AMD server is about 50c per hour on Azure (Linux spot pricing). So… about $40 to compile an entire distro. Not exactly breaking the bank.
- xxpor 3y agoyou'd have to separate out compiling and linking at a bare minimum to get even a semi accurate model. plus a lot of userspace is c++, which is much, much slower.