โฒ 731 โผ Supreme leader mad (sh.itjust.works) submitted 2 years ago by 0x4E4F@sh.itjust.works to c/linuxmemes@lemmy.world 101 comments fedilink hide all child comments
[โ] rambling_lunatic@sh.itjust.works 30 points 2 years ago (1 child) Yeah but a lot of that C code has inline assembly so it's more like 5-10% asm. permalink fedilink source parent hideshow 2 child comments replies: [โ] riodoro1@lemmy.world 13 points 2 years ago (1 child) Inline assembly is such a shit practice. But c++ bad. permalink fedilink source parent hideshow 2 child comments replies: [โ] Mananasi@feddit.nl 11 points 2 years ago (1 child) Sometimes you can't get around it though. permalink fedilink source parent hideshow 2 child comments replies: [โ] riodoro1@lemmy.world 1 point 2 years 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. permalink fedilink source parent
[โ] riodoro1@lemmy.world 13 points 2 years ago (1 child) Inline assembly is such a shit practice. But c++ bad. permalink fedilink source parent hideshow 2 child comments replies: [โ] Mananasi@feddit.nl 11 points 2 years ago (1 child) Sometimes you can't get around it though. permalink fedilink source parent hideshow 2 child comments replies: [โ] riodoro1@lemmy.world 1 point 2 years 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. permalink fedilink source parent
[โ] Mananasi@feddit.nl 11 points 2 years ago (1 child) Sometimes you can't get around it though. permalink fedilink source parent hideshow 2 child comments replies: [โ] riodoro1@lemmy.world 1 point 2 years 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. permalink fedilink source parent
[โ] riodoro1@lemmy.world 1 point 2 years 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. permalink fedilink source parent