Why was the new uasyncio omitted from the 1.12 release?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
MostlyHarmless
Posts: 147
Joined: Thu Nov 21, 2019 6:25 pm
Location: Pennsylvania, USA

Why was the new uasyncio omitted from the 1.12 release?

Post by MostlyHarmless » Thu Dec 26, 2019 4:34 am

A new version of uasyncio was proposed in November. This would have been a major improvement to the existing implementation, but it seems that it missed the mark to make it into the v1.12 release.

Why?


Jan

User avatar
pythoncoder
Posts: 4157
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

uasyncio progress

Post by pythoncoder » Thu Dec 26, 2019 7:00 am

It's under development. @Damien suspended work on it in order to get the V1.12 release out.

In my testing the new version works very well, but there are outstanding work areas such as implementing the rest of the Python synchronisation primitives - I submitted code for these along with other suggestions and issues for discussion. Hopefully these will be reviewed early in the new year.
Peter Hinch

kevinkk525
Posts: 700
Joined: Sat Feb 03, 2018 7:02 pm

Re: Why was the new uasyncio omitted from the 1.12 release?

Post by kevinkk525 » Thu Dec 26, 2019 12:02 pm

Also Damien wanted to implement parts of the new uasyncio in C++ for performance reasons.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode

User avatar
pythoncoder
Posts: 4157
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Why was the new uasyncio omitted from the 1.12 release?

Post by pythoncoder » Thu Dec 26, 2019 6:26 pm

Yes, although in my testing the performance is not far behind that of V2 as it stands.
Peter Hinch

Post Reply