Re:Python programming for Nintendo 8 bits
by medguru on Wednesday July 03, 2024 @09:01AM
(#40865558)
If I learned anything from fighting with MicroPython on far more powerful "limited environments" it would be that this is just a curious study, not a feasible choice.
[ Parent
| on HN ]
Re:Python programming for Nintendo 8 bits
by Retr0id on Wednesday July 03, 2024 @09:18AM
(#40865694)
This isn't MicroPython though, and it's not similar either.
Re:Python programming for Nintendo 8 bits
by somehelpdeskguy on Wednesday July 03, 2024 @10:30AM
(#40866263)
I fail to see how it is dissimilar enough to avoid apprehension. Same language (Python) on limited hardware (8-bit NES, microcontrollers.) So what makes pyNES so different from MicroPython that someone with apprehension due to the latter should have no apprehension toward the former?
Re:Python programming for Nintendo 8 bits
by leni536 on Wednesday July 03, 2024 @10:58AM
(#40866579)
Because this is an assembler with python being used as the macro language. No actual python code runs on the target.
Re:Python programming for Nintendo 8 bits
by Retr0id on Wednesday July 03, 2024 @10:57AM
(#40866574)
There is no python runtime running on the 6502 hardware, and no Python semantics at runtime whatsoever. Python code is only executed on the host system during compilation. Python's role here is a glorified macro assembler.
Re:Python programming for Nintendo 8 bits
by wegfawefgawefg on Wednesday July 03, 2024 @12:46PM
(#40867727)
Wheras micropython involves running a lightweight python virtual machine, this is a compiler. It parses a subset of python and emits assembly, which then can be run on the NES.
It is sort of like a scheme to asm dsl, but rather than via macros, this appears to operate via decorators.
For future reference, though it may be unintended, the tone of your comments does seem aggressive. This probably wouldn't be a problem if they weren't so assertively wrong/misguided.