• bamboo@lemm.ee
    link
    fedilink
    arrow-up
    24
    ·
    5 months ago

    As a fellow risc-v supporter, I think the rise of arm is going to help risc-v software support and eventually adoption. They’re not compatible, but right now developers everywhere are working to ensure their applications are portable and not tied to x86. I imagine too that when it comes to emulation, emulating arm is going to be a lot easier than x86, possibly even statically recompilable.

    • deathmetal27@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      5 months ago

      They’re not compatible

      This is what concerns me. ARM could dominate the market because almost everyone would develop apps supporting it and leave RISC-V behind. It could become like Itanium vs AMD64 all over again.

      • zygo_histo_morpheus@programming.dev
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        5 months ago

        Well right now most people develop apps supporting x86 and leaves everything else behind. If they’re supporting x86 + arm, maybe adding riscv as a third option would be a smaller step than adding a second architecture

        • deathmetal27@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          5 months ago

          It greatly depends on the applications.

          Porting Windows exclusive games to Linux is a small step as well, but most developers don’t do it because they cannot justify the additional QA and debugging time required to port them over. Especially since Linux’s market share is small.

          The reason Itanium failed was because the architecture was too different from x86 and porting x86 applications over required significant effort and was error prone.

          For RISC-V to even get any serious attention from developers, I think they need to have appx 40-50% market share with OEMs alongside ARM. Otherwise, RISC-V will be seen as a niche architecture and developers would avoid porting their applications to it.

          • LeFantome@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            5 months ago

            We agree.

            My point is that “porting” is not such a big deal if it is just recompile. If you already target Linux with a portable code base ( to support both ARM and amd64 for example ) then the burden of RISC-V is pretty low. Most of the support will be the same between RISC-V and ARM if they target the same Linux distros.

            The Linux distros themselves are just a recompile as well and so the entire Open Source ecosystem will be available to RISC-V right away.

            It is a very different world from x86 vs Itanium with amd64 added to the mix.

            Look at Apple Silicon. Fedora already has a full distribution targeting Apple Silicon Macs. The biggest challenges have been drivers, not the ISA. The more complete the Linux ecosystem is on ARM, the easier it will be to create distros for RISC-V as well.

            Porting Windows games to Linux is not a small step. It is massive and introduces a huge support burden. That is much different than just recompiling your already portable and already Linux hosted applications to a new arch.

            With games, I actually hope the Win32 API becomes the standard on Linux as well because it is more stable and reduces the support burden on game studios. It may even be ok if they stay x86-64. Games leverage the GPU more than the CPU and so are not as greatly impacted running the CPU under emulation.

      • LeFantome@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        That is a risk on the Windows side for sure. Also, once an ISA becomes popular ( like Apple Silicon ) it will be hard to displace.

        Repurposing Linux software for RISC-V should be easy though and I would expect even proprietary software that targets Linux to support it ( if the support anything beyond x86-64 ).

        Itanium was a weird architecture and you either bet on it or you did not. RISC and ARM are not so different.

        The other factor is that there is a lot less assembly language being used and, if you port away from x64, you are probably going to get rid of any that remains as part of that ( making the app more portable ).

          • LeFantome@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            5 months ago

            Once a chip architecture gets popular on Windows, it will be hard to displace. ARM has already become popular on macOS ( via Apple Silicon ) so we know that is not going anywhere. If ARM becomes popular on Windows ( perhaps via X Elite ), it will be hard to displace as the more popular option. That makes RISC-V on Windows a more difficult proposition.

            I do not think that RISC-V on Linux has the same obstacles other than that most hardware will be manufactured for Windows or Mac and will use the chips popular with those operating systems.

            • Norah - She/They@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 months ago

              I think you missed the forest for the trees my friend. I was simply commenting on the fact you made it sound like Apple Silicon is it’s own ISA.