- Feb 4, 2003
- 3,370
- 0
- 71
I got into an argument with coworker about this. He switched to using Gentoo and swears that it's much faster than Ubuntu because everything is compiled specifically for his CPU, and will take advantage of all features of his CPU such as new instruction sets and registers. He said the precompiled packages of a distribution like Ubuntu are compiled for the lowest common denominator. They'll pick a baseline CPU, say a Pentium 1, and compile it for that and it won't take advantage of any CPU feature after that.
I always thought that programs would automatically take advantage of whatever CPU features are available. If you install Windows XP on a Pentium 1, I'm pretty sure any app would still run provided you have enough ram) though perhaps slowly, and if you run those same apps on a modern CPU they'll automatically use all the features of that CPU.
The only time in Windows you typically have different compiled binaries for different CPUs is 32bit and 64bit. Why isn't it the same in Linux?
I always thought that programs would automatically take advantage of whatever CPU features are available. If you install Windows XP on a Pentium 1, I'm pretty sure any app would still run provided you have enough ram) though perhaps slowly, and if you run those same apps on a modern CPU they'll automatically use all the features of that CPU.
The only time in Windows you typically have different compiled binaries for different CPUs is 32bit and 64bit. Why isn't it the same in Linux?
