Uasyncio looks ok to learn,
Is there a micropython esp-idf library access to RTOS and would this be much of an advantage to yasyncio??
Cant find any info on esp32 micropython rtos so far...
Concurrency
Re: Concurrency
I think iv misunderstood the point,
MicroPython is an interpreter running under rtos so calling rtos would serve no purpose
Whereas arduino or lua are compile time languages, and can call rtos due to there result more or less being bare metal machine code.
So if I want concurrancy in micropython I ise uasyncio or do my best to avoid blocking code eg use interrupts...
Anyone care to comment Micropython / Micro's and concurrancy...
MicroPython is an interpreter running under rtos so calling rtos would serve no purpose
Whereas arduino or lua are compile time languages, and can call rtos due to there result more or less being bare metal machine code.
So if I want concurrancy in micropython I ise uasyncio or do my best to avoid blocking code eg use interrupts...
Anyone care to comment Micropython / Micro's and concurrancy...
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Concurrency
See this section in my uasyncio tutorial.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.