• 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    2 months ago

    What she’s accomplished is, to me, astonishing and an impressive intellectual feat. I believe there’s a pretty big caveat that it only works on x86_64, i.e. not ARM. The latter being fairly popular and not uncommon.

    It wouldn’t damage the impressiveness of her achievement to say “most OSes on x86.”

    • maegul@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      Yea, I forget where, but she’s openly lamented the rise of ARM for this reason. Not because it’s a small blemish on redbean and cosmopolitan libc (what redbean uses to be “universal”) … but, IIRC, x86 had gained such ubiquity that simply sticking with it for the sake of interoperability and backwards compatibility was/is probably worth it. However accurate that is, or viable in today’s tech world, I certainly resonate with the sentiment. And given what her and cosmopolitan libc seem to have accomplished (I’ve never used these things), it certainly seems like one of nice things we could have if we just did things in a nicer way.

    • FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 month 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.

        • FooBarrington@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          I just tried the current redbean build on Linux AMD64, and everything worked as expected (both launching directly, and through sh). Which examples did you specifically try? Which sh version do you use (I have 5.2.26(1)-release (x86_64-redhat-linux-gnu))?

          The cosmopolitan README has a section on the WINE thing, if you want to try and get it running.

            • FooBarrington@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              1 month ago

              Those were their first tests, of course there is a high chance they won’t run on all system configurations (especially since things like WINE comparability were likely detailed later). You should try artifacts built with the current version of the format (3 IIRC) if you want to give it a fair shot.