• Vilian@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    20 days ago

    That the kernel developers to decide, the deve wouldn’t need to change angthingz but i doubt the idea too, how can sincronize the arm and x86? How to you handle libraries of the different architectures

    • hperrin@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      20 days ago

      The libraries would probably be easy. We’ve already got x86 and amd64 libraries on the same machine, but the kernel I imagine would be awful. Would two kernels have to run on the same machine? What about memory access? What about the scheduler? Would it really be more efficient than emulation? For every x86 instruction, there is either an equivalent instruction or a set of equivalent instructions for ARM.

      • BlackLaZoR@fedia.io
        link
        fedilink
        arrow-up
        0
        ·
        20 days ago

        I imagine would be awful. Would two kernels have to run on the same machine?

        Correct me if I’m wrong, but afaik, applications talk through APIs. It shouldn’t matter if app runs x86 and kernel is ARM

        • hperrin@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          20 days ago

          But the code that loads other code (launches an app, switches to it, etc) needs to be running on the same CPU, afaik.