3 ms·
... and yet people successfully programmed 6502 machines, including one explicitly mentioned in the headlined article, in languages such as BASIC.
by JdeBP 8y ago
... and yet people successfully programmed 6502 machines, including one explicitly mentioned in the headlined article, in languages such as BASIC.
- kken 8y agoThere is an important difference: BASIC is interpreted, not compiled.
- JdeBP 8y agoYou are erroneously conflating high level and compiled. Or you are not reading what you yourself actually wrote.
- tom_ 8y agoI imagine that 'programming the 6502' here refers to somehow creating code that the CPU executes directly, and so interpreted languages are automatically excluded.
- vardump 8y agoC64 had BASIC compilers back in the day.
- opencl 8y agoAnd those BASIC interpreters were extremely slow. Clearly there are many interpreters and compilers for the 6502 and almost every other CPU architecture ever designed. Nobody said it's impossible to program the 6502 in high level languages, the architecture is just not designed to be a compiler/interpreter target and it is basically impossible to map many high level language constructs to efficient 6502 code.