Skip to content

Emulation by recompilation (Rosetta alternative) #538

@kevincrans

Description

@kevincrans

TLDR: Retdec to LLVM IR is my first idea.

In the future, developers might stop compiling for Apple x86.
Besides that and the various binaries for other archs ppl will not always run, it's better if every port of a platform could run the same apps, instead of 1-way, or having to buy multiple machines.
It's impossible to not come across the idea of emulation.

So I want to suggest a project: retdec : 1 of the ten alternatives in a table on the github of another I found, all recompiling multiple architectures to LLVM bitcode (I haven't checked alternatives that don't do this), the Microsoft one is more recent, but only does elf and retdec does only 32-bit version of ppc unlike fracture.

This could slightly help to test compatibility with programs of another architecture, without needing the machine.

This could also be used for a hypothetical RavynOS Catalyst. If another alternative is chosen that only does Arm64, then TouchHLE is also a good alternative for this idea.

Without something like this and/or 32-bit support, there's barely an existing usecase for expanding territory with backwards compatibility beyond x64, I'd advise against it then, unless creating a new usecase is profitable.

I'm sorry if this is going too deep into things wrongly, it can always be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions