• @[email protected]
    link
    fedilink
    14 hours 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
      link
      13 hours 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
        link
        fedilink
        13 hours 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
          link
          123 minutes ago

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