Playing with the llvm-mos 6502 assembler, and it cut the code size of this c64 demo in half. There's still a long way to go wrangling #ifdefs and inline assembly clobber lists, but it looks promising. It's still weird to use an executable the size of 311 floppy disks to compile a 1.2kb program...
The NES "Solarian" game works on llvm-mos with a little fiddling. I was even able to replace an inline assembly routine with C, and it improved it a bit :/ It improved the compressed ROM size by about 15% and the speed by 2x. There are still a lot of fit-and-finish things that you miss from CC65, and also the issue of how do you run this thing from the browser :) #nesdev