this post was submitted on 13 May 2026
57 points (100.0% liked)

Programming

27000 readers
251 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

I can't find the source code for this, I am posting here to save it to remind myself to search later.

top 14 comments
sorted by: hot top controversial new old
[–] HaraldvonBlauzahn@feddit.org 2 points 6 days ago

I think there will be cases that do not work. For example, default memory access semantics of multi-threaded code are different for x86 compared to ARM - the code likely contains assumptions that are not valid on ARM.

[–] kibiz0r@midwest.social 7 points 1 week ago (1 children)

Elevator achieves performance on par with or better than QEMU's user-mode JIT emulation.

QEMU is a weird pick here. Why not FEX?

[–] refalo@programming.dev 5 points 1 week ago (1 children)

Why is it "weird"? It has been around much longer AFAIK.

[–] moonpiedumplings@programming.dev 5 points 1 week ago* (last edited 1 week ago)

Because fex/box86 have the ability to run arm binaries linked to x86 libraries, netting signficantly greater performance. In addition to other tricks.

https://box86.org/2022/03/box86-box64-vs-qemu-vs-fex-vs-rosetta2/

[–] ExperimentalGuy@programming.dev 0 points 1 week ago (2 children)

What's the point of this when you can compile between ISAs using a build tool and source? When would you need to cross compile a binary after building?

[–] FizzyOrange@programming.dev 2 points 6 days ago (1 children)

It's for closed source software obviously.

[–] HaraldvonBlauzahn@feddit.org 1 points 5 days ago (1 children)

Isn't going all that AI tech going to make automated decompilation trivial? Re-compiling would not need illustrative variable names...

[–] FizzyOrange@programming.dev 1 points 4 days ago

That is basically what this does, but more reliably.

[–] jdr@lemmy.ml 11 points 1 week ago (1 children)

Because you don't have the source or because you can't configure the cross-compiler

[–] ExperimentalGuy@programming.dev 1 points 6 days ago (4 children)

I guess I'm confused about the context you'd be in that situation.

[–] qaz@lemmy.world 5 points 6 days ago

E.g. when you have a proprietary program that is only available on x86, but you want to run it on ARM.

[–] HaraldvonBlauzahn@feddit.org 1 points 5 days ago

Easy to explain: The idiot project manager skipped to set up source control, and the sources have been lost.

[–] dev_null@lemmy.ml 1 points 6 days ago

Most software most people run is closed source and doesn't have an arm version. Isn't this the usual situation? Aunt Flo isn't recompiling her tax filing software for arm. She just runs it, and it works because the arm laptop she has came with this built in.

[–] jdr@lemmy.ml 1 points 6 days ago

I'm not talking about closed source software (heaven forfend!) but maybe you don't have network access, or you don't know what version you have or something. Sometimes even the best of us end up with binaries of unknown provenance that still must run.