Samsung does an Apple with its first Snapdragon X Elite laptop, suggesting the new Arm-based Windows machines aren't going to be a cheap alternative to x86 - eviltoast

Interesting. Samsung making a bold move here, but one that could make sense.

  • BorgDrone@lemmy.one
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 months ago

    macOS converts x86 code to ARM ahead of launching an app, and then caches the translation. It adds a tiny delay to the first time you launch an x86 app on ARM. It also does on-the-fly translation if needed, for applications that do code generation at runtime (such as scripting languages with JIT compilers).

    The biggest difference is that Apple has added support for an x86-like strong memory model to their ARM chips. ARM has a weak memory model. Translating code written for a strong memory model to run on a CPU with a weak memory model absolutely kills performance (see my other comment above for details).