0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 1 年前Supreme leader madsh.itjust.worksimagemessage-square102fedilinkarrow-up1764arrow-down133
arrow-up1731arrow-down1imageSupreme leader madsh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 1 年前message-square102fedilink
minus-squareriodoro1@lemmy.worldlinkfedilinkarrow-up16arrow-down3·1 年前Inline assembly is such a shit practice. But c++ bad.
minus-squareriodoro1@lemmy.worldlinkfedilinkarrow-up2arrow-down1·1 年前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.
Inline assembly is such a shit practice. But c++ bad.
Sometimes you can’t get around it though.
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.