3 ms·
I feel like what you’d probably want to implement here are extensions that make it convenient to write high-performance translators.
by saagarjha 4y ago
I feel like what you’d probably want to implement here are extensions that make it convenient to write high-performance translators.
- pavlov 4y agoMaybe something like Transmeta, where the instruction set was designed to act as a dynamic binary translation target: https://en.wikipedia.org/wiki/Transmeta https://en.wikipedia.org/wiki/Transmeta
- xattt 4y agoTransmets promised multiple architectures, but there was never a product demonstrated in the wild.
- pavlov 4y agoI think they demonstrated Sun picoJava support alongside x86, but no products actually shipped using this architecture: https://en.wikipedia.org/wiki/PicoJava https://en.wikipedia.org/wiki/PicoJava
- sgerenser 4y agoThis is essentially what Apple did with Apple Silicon to make Rosetta fast: https://dougallj.wordpress.com/2022/11/09/why-is-rosetta-2-fast/ https://dougallj.wordpress.com/2022/11/09/why-is-rosetta-2-f... There’s a number of CPU features that make running translated x86 code much faster than it otherwise would be, like “Alternate Floating Point Mode” that happens to exactly match the x86’s floating point behavior.