Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just another proof of concept for a vaporware toolchain


What does this comment mean?


I think this is the 8th separate attempt I've seen to get LLVM to output 6502 binaries. The others involved a presentation showing the issues involved and how the creator has got it mostly working and made a hello world app or simple game with it. After that the project disappears. Hopefully this time it'll be different.


It is. It works and compiles relatively non-trivial programs correctly (I tried a PDP-8 emulator and a printf library) with surprising optimisations in spots. On -O3 it turned a print loop over a string array with a mask applied to each character, into applying the mask to the constant at compile-time with a sequence of unrolled LDA#/JSR. Very impressive.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: