Justine Tunney - Redbean and the Actually Portable Executable (Speakeasy JS, May 2021) - Despite the channel, this is about a C executable that "runs anywhere", including from boot - eviltoast
  • FooBarrington@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    No, it also works for ARM - you can even build a fat binary with an ARM -> x86 translation layer, i.e. one binary for both architectures!

    • Huh. In was just playing around with some samples from her page, and can’t get them to run on either AMD64 or ARM. What’s worst is that on my AMD machine I have Wine installed, and trying to run it fires up Wine (where it does eventually execute). You’re supposed to also be able to sh it, and if I do that they just fail. On an ARM, they just fail. I was unable to get any of the samples from he page to run.

      I haven’t tried compiling my own program, but if the download samples don’t run (for me), it doesn’t give me confidence in the solution.