News for hackers. Stuff that matters.
Re:Micro Python – a lean and efficient implementation of Pyt... by michaelhoffman on Tuesday June 03, 2014 @11:35AM (#7840812)
> Supports almost full Python 3 syntax, including yield (compiles 99.99% of the Python 3 standard library).

What parts of Python 3 syntax are missing? Which parts of the library don't compile?

Re:Micro Python – a lean and efficient implementation of Pyt... by maxerickson on Tuesday June 03, 2014 @11:42AM (#7840851)
It's discussed some here:

https://github.com/micropython/micropython/wiki/Differences

But I guess they are still in the process of writing that/filling it out.

The biggest difference listed is probably no Unicode. Another significant point is that lots of library functions are only partially implemented.

Re:Micro Python – a lean and efficient implementation of Pyt... by AceJohnny2 on Tuesday June 03, 2014 @02:01PM (#7841762)
> The biggest difference listed is probably no Unicode.

Funny, considering that was the core reason for Python3 in the first place (though I can't immediately come up with a reference).

Re:Micro Python – a lean and efficient implementation of Pyt... by maxerickson on Tuesday June 03, 2014 @02:05PM (#7841789)
This is sort of the design document for Python 3:

http://legacy.python.org/dev/peps/pep-3100/

Along with this one:

http://legacy.python.org/dev/peps/pep-3000/

(Of course there was lots and lots of thought and discussion that is not reflected in those documents)

I would characterize the Unicode/bytes change to simply be the most visible and disruptive change, it didn't really stand apart as far as being a reason, it was one of many.

Re:Micro Python – a lean and efficient implementation of Pyt... by AceJohnny2 on Tuesday June 03, 2014 @02:34PM (#7841970)
From what I remember from various posts, most other changes could be done gradually on the 2.x branch. Unicode couldn't.

I may be mischaracterising it :)

That said, I suppose it's wise to base MicroPython on the "live" branch of Python (3.x), not the legacy one (2.x), even if Unicode support is too costly for them.

Re:Micro Python – a lean and efficient implementation of Pyt... by sitkack on Tuesday June 03, 2014 @07:17PM (#7843268)
Unicode will come, there are plenty of nice-enough implementations for Lua that could be adapted.
Re:Micro Python – a lean and efficient implementation of Pyt... by carbon12 on Tuesday June 03, 2014 @02:48PM (#7842047)
> What parts of Python 3 syntax are missing? Which parts of the library don't compile?

The only things that don't compile properly are certain uses of "super()". super() without arguments is a very strange beast that captures the first argument of the function (interpreting it as the self object), and needs to infer its class.

Other than that, all the Python scripts in the Python 3 standard library will compile.

[deleted]
Re:Micro Python – a lean and efficient implementation of Pyt... by VeejayRampay on Tuesday June 03, 2014 @12:02PM (#7840969)
I am not sure what you went for with this, but it really strikes the reader as over the top and condescending, no need for that in a discussion thread about a programming language.

There are people reading those pages who are thinking of engaging the programming community and behavior like this really gives a bad impression.

Re:Micro Python – a lean and efficient implementation of Pyt... by hrttrht on Tuesday June 03, 2014 @05:54PM (#7842961)
wtf?
Re:Micro Python – a lean and efficient implementation of Pyt... by michaelhoffman on Tuesday June 03, 2014 @11:58AM (#7840944)
Yeah, I actually spent a few minutes checking out that site before asking this question and the answer is not anywhere obvious.