Micro Python
David Boddie (1934) 222 posts |
Since there isn’t a port of Python 3 for RISC OS, as far as I can tell, has anyone considered porting Micro Python (http://micropython.org/) instead? It’s aimed at ARM-based hardware so I imagine it should run reasonably well on existing RISC OS systems. |
Rick Murray (539) 13840 posts |
Looks like it is rather low level, being aimed at microcontrollers (I presume, without an underlying OS?). Note that it warns “WARNING: this project is in early beta stage and is subject to large changes of the code-base, including project-wide name changes and API changes.”. BTW, what does Python offer over BASIC, C, Lua, etc that we already have? |
Steve Pampling (1551) 8170 posts |
Probably more pertinent to ask “What does micro Python offer over BASIC, C, Lua, etc and Python 2?” and “has anyone considered working on Python 3 so that it is re-included in the official Python availability list like Python 2 for RISC OS” |
David Boddie (1934) 222 posts |
It is indeed aimed at microcontrollers but there is also a port to Unix. I thought it might suit RISC OS better than standard Python 3 because it supports things like inline assembly language and improved control over memory usage. I wonder how hard it would be to get RISC OS back into the official list of Python 3 platforms. The code was left out of the Python 3 codebase in the late 2000s due to lack of a RISC OS maintainer for Python 2. |
Michael Emerton (483) 136 posts |
Rick: The ability to use the script for my Wireless dongle, so I can change it from within RISC OS? :@D I’;m sure it can be re-coded into one of the others but like most time is not on my side! :@( |
Rick Murray (539) 13840 posts |
If you’re talking about configuring a Vonets dongle… You can’t. RISC OS doesn’t appear to support the required connection type. |
Steve Pampling (1551) 8170 posts |
I wasn’t sure at the time that the stuff you were trying to do and didn’t get around to digging out1 the crappy old test code I did when playing with the DNS blacklist query stuff that proved certain things could be done on RO. Then I moved on to nudging Frank about doing that in AntiSpam. When he did the first test elements I stashed to old code – somewhere – probably on the Iyonix with the lightning strike affected NIC. Bung an Intel gig card in and that beast should be OK (says he inviting disaster) Time to go home. 1 If I can find it, I will send you a copy |