View Single Post
Old 08-17-2024, 01:50 AM   #46 (permalink)
Isaac Zachary
High Altitude Hybrid
 
Join Date: Dec 2020
Location: Gunnison, CO
Posts: 2,075

Avalon - '13 Toyota Avalon HV
90 day: 40.45 mpg (US)

Prius - '06 Toyota Prius
Thanks: 1,128
Thanked 581 Times in 462 Posts
Quote:
Originally Posted by freebeard View Post
"But if you have two apps that do the exact same thing, except one is written for x86 and the other is written for ARM Linux, then the ARM version on the Pi 5 would be faster"
Why did you cross out ARM and add Linux? Linux is an operating system. ARM is an instruction set.

x86 Linux apps/programs need to be emulated on Linux on ARM. And as a result, they will tend to run slower even if the ARM processor is a bit faster. The same is true between Windows on x86 and ARM or between MacOS on x86 and ARM. Even though the operating system has the same name, the instruction set is entirely different, hence the need to emulate the app/program

On the other hand, even emulating an app/program from another operating system is going to be just as fast, more or less, if the other operating system is running on a CPU with the same instruction set that the app/program was written in. An x86 Windows app is going to run about as fast on Linux on x86 as it would on Windows on x86.
__________________
  Reply With Quote