<div dir="ltr">Interesting, MicroPython is great. By the way, Luci2 doesn't use Lua at all.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 14, 2014 at 4:20 PM, Paul Sokolovsky <span dir="ltr"><<a href="mailto:pmiscml@gmail.com" target="_blank">pmiscml@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I wondered if it makes sense to post about MicroPython, but recent post<br>
about Squirrel language prompted me to. So, there's a project to<br>
implement, from scratch, very lean interpreter for Python3 scripting<br>
language.<br>
<br>
The project is well under way and currently implements good deal of<br>
Python3 semantics. It can't yet run arbitrary existing Python code, but<br>
the whole idea of MicroPython is to provide efficient subset of Python<br>
to develop apps from scratch (or to port existing code).<br>
<br>
Source code:<br>
<a href="https://github.com/micropython/micropython" target="_blank">https://github.com/micropython/micropython</a><br>
<br>
User-facing site:<br>
<a href="http://micropython.org/" target="_blank">http://micropython.org/</a><br>
<br>
My motive for working on MicroPython is dissatisfaction with Lua -<br>
based both on my personal tastes and experience, and analyzing other<br>
projects' experience. For example, LuCI web UI, as used in OpenWRT, is<br>
known to be slow, and known not to be able to reasonably work on system<br>
with less than 32MB of RAM at all. I don't think these are results of<br>
Lua's technical traits - rather, its semantic and "programming<br>
psychology" issues. The way I see it, in many places where Lua is used<br>
currently, it is used only because of the lack of alternatives. So,<br>
people have to use it thru not wanting to use it. Then, they're not<br>
interested to learn details of the language to use it efficiently,<br>
they're not interested in writing efficient programs, not interested in<br>
optimizing code, etc. - they interested just to do something ASAP, and<br>
get their hands off of it.<br>
<br>
So, if you consciously or subconsciously dissatisfied with Lua, please<br>
consider giving MicroPython a look and try! ;-)<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</blockquote></div><br></div>