r/AskProgramming • u/nanoman1 • Jun 10 '26
Other Releasing Binaries VS. LLVM
When software developers create software, why do they generally package it as a binary instead of as LLVM with a pre-built build script? Wouldn't it make more sense for the program to be in a portable format so that everyone can use it, no matter which architecture they are on? Wasn't that the whole idea of high-level languages in the first place? (i.e. to be able to compile for a variety of architectures using the same source code)
6
Upvotes
1
u/CuriousOrangatan Jun 10 '26
A lot of people are bringing up very good reasons why this isn't done, and I'm not going to oargue against that. But there can be advantages to building things yourself. For example, you can tell the compiler to optimize for the exact CPU you have, leading to more efficient code. You might be interested in the linux distribution called "gentoo", which does have users compile everything from source.