🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #297

Binary translation (was: Almost Ready to Repeat the Cycle)

#297
From: Anton Ertl
Date: Fri, 23 Oct 2026 08:13
44 lines
3389 bytes
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>Anton Ertl [2026-10-22 16:47:35] wrote:
>> That may have to do with the target that they translated to.  Intel
>> and HP could not get this architecture style to perform well on
>> general-purpose programs even when targeting it directly, so why
>> should it perform well with a dynamic binary translator?
>> OTOH, it seems to work ok for Apple with Rosetta.
>
>I can see 2 important differences:
>
>- Does the ISA you're emulating have an actively developed hardware
>  implementation against which you're going to have to compete?

It's the same ISA in both cases.  You could argue that Intel-based
Macs are the only competition for Mac users, but the brand loyalty of
Mac users would be another important difference.

Certainly the Windows on ARM efforts have to compete with Windows
computers running on AMD64 hardware implementations.  I read about
slowdowns from binary translation by a factor of 2.

>- Do you expect to spend 99% of your time emulating a foreign ISA, or do
>  you expect to mostly run binaries using your native ISA and just
>  occasionally emulate another?

That's an important one.  Microsoft tries to get the ISVs of the most
popular software to support ARM A64, and hopes that's enough to
commoditize their complement
<https://www.joelonsoftware.com/2002/06/12/strategy-letter-v/>.
Apparently they do not consider the Intel/AMD competition to be enough
for a commodity, or maybe the the reason is that on Intel and AMD
processors Linux commiditizes Windows to some extent; the latter
suggests that the Linux non-compatibility of Windows-on-ARM hardware
is intended (IIRC some Linix hardware company tried to get Linux to
run on the CPUs of the first Windows-on-ARM laptops, but eventually
gave up).

Anyway, the jury is still out on whether Windows on ARM works this
time.

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID: <2026Oct23.101307@mips.complang.tuwien.ac.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <6ad51222.27689359@news.eternal-september.org> <memo.20261020202111.15264J@jgd.cix.co.uk> <11bb7b6$93g4$1@dont-email.me> <1792685413-5857@newsgrouper.org> <2026Oct22.184735@mips.complang.tuwien.ac.at> <jwvmrs5jzge.fsf-monnier+comp.arch@gnu.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Binary translation (was: Almost Ready to Repeat the Cycle)
Date: Fri, 23 Oct 2026 08:13:07 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 44
Message-ID: <2026Oct23.101307@mips.complang.tuwien.ac.at>
References: <6ad51222.27689359@news.eternal-september.org> <memo.20261020202111.15264J@jgd.cix.co.uk> <11bb7b6$93g4$1@dont-email.me> <1792685413-5857@newsgrouper.org> <2026Oct22.184735@mips.complang.tuwien.ac.at> <jwvmrs5jzge.fsf-monnier+comp.arch@gnu.org>
Injection-Date: Fri, 23 Oct 2026 08:31:33 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1669557"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18dWlaHpJWKo8rasQdmi/c9"; posting-host="2fa3e9841a62cba7e672273caf15be57"
Cancel-Lock: sha1:MNs3MgmSX7mEaK9ARAdKErt/yZg= sha256:kPEP7DqjWheiBBJ6CW8gkIeXcvclFmhhE+BU0apiljI=
	sha1:7uM9fM0038xOL4CkI+OzdtiUsq4= sha256:e9NGuT5hdPMajrPfUARETB4x8PSx9hWPJ/FwzgKMYBw=
X-newsreader: xrn 10.11