3 ms·
This C compiler, while not LLVM and no you can't use Rust, is quite a decent compiler to 6502. https://gitlab.com/camelot/kickc https://gitlab.com/camelot/kick
by djmips 4y ago
This C compiler, while not LLVM and no you can't use Rust, is quite a decent compiler to 6502.
https://gitlab.com/camelot/kickc https://gitlab.com/camelot/kickc
- royjacobs 4y agoI tried using that a few years ago but kept running into miscompiled code. Has it improved since then?
- djmips 4y agoYes, it has improved. However I always use it to write new code and my code is simple - it didn't start out trying to be standards compliant so you may still run into trouble if you are using the full vocabulary of C and in this case you may find cc65 or the LLVM-MOS 6502 backend more suitable. KickC's advantage is that it does produce reasonably fast code and it integrates into the Kick assembler workflow.