• rambling_lunatic
    link
    fedilink
    arrow-up
    30
    ·
    8 months ago

    Yeah but a lot of that C code has inline assembly so it’s more like 5-10% asm.

        • riodoro1@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          7 months ago

          Afaik MSVC forbids it and it’s one of the very few nice things about c++ on windows.

          If you need to write assembly don’t fucking do it in a cpp file. Create a header, an assembly file, assemble it and link to it.