3 ms·
We're talking about C64 (and maybe Amiga). Compiler is not going to do absolutely anything for you on those retro platforms.
by vardump 4y ago
We're talking about C64 (and maybe Amiga).
Compiler is not going to do absolutely anything for you on those retro platforms.
- tialaramex 4y agoAw, just needs a better compiler (with a 6502 target) :D Jason Turner's CppCon 2021 talk, "Your New Mental Model of constexpr" has half the presentation as a C64 program (though for practical reasons not actually running on a C64 but instead an emulator) because most of the heavy lifting is done by the C++ 20 compiler. https://youtu.be/MdrfPSUtMVM?t=1422 https://youtu.be/MdrfPSUtMVM?t=1422 Now, Jason's approach is not going to beat hand-crafted 6502 machine code in a fair fight but he often doesn't need to fight fair and that's the point of his talk.