Re:C Compiler Assembler and Runtime for C64
by zozbot234 on Monday January 08, 2024 @09:17AM
(#38912203)
Not much of a point since Apple ][ has the SWEET16 interpreter already as part of its BASIC ROM. But yes, it would be nice if the LLVM-MOS6502 folks put some effort towards feature parity with this toolchain. LLVM almost certainly has better auto-optimization than a new bespoke compiler.
[ Parent
| on HN ]
Re:C Compiler Assembler and Runtime for C64
by CatchSwitch on Monday January 08, 2024 @02:31PM
(#38916869)
According to Wikipedia the SWEET16 Interpreter is significantly slower than native assembly (Wiki says 1/10th the speed). A C compiler that targets 6502 would make sense if I want to code something to run on the Apple ][ that's relatively performant