Giter Club home page Giter Club logo

micropython-async's Introduction

Asynchronous programming in MicroPython

CPython supports asynchronous programming via the asyncio library. MicroPython provides uasyncio which is a subset of this, optimised for small code size and high performance on bare metal targets. This repository provides documentation, tutorial material and code to aid in its effective use.

uasyncio version 3

Damien has completely rewritten uasyncio which was released as V3.0. See PR5332. This is now incorporated in release build V1.13 and subsequent daily builds.

Resources for V3 may be found in the v3 directory. These include a guide to porting applications from V2, an updated tutorial, synchronisation primitives and various applications and demos.

V2 should now be regarded as obsolete for almost all applications with the possible exception mentioned below.

uasyncio version 2

The official version 2 is entirely superseded by V3, which improves on it in every respect.

I produced a modified fast_io variant of V2 which is in use for some specialist purposes. It enables I/O to be scheduled at high priority. Currently this schedules I/O significantly faster than V3; the maintainers plan to improve uasyncio I/O scheduling. When this is complete I intend to delete all V2 material.

All V2 resources are in the V2 subdirectory: see this README.

micropython-async's People

Contributors

agners avatar altoretrato avatar andydhobbs avatar craftyguy avatar dbadrian avatar peterhinch avatar stlehmann avatar trevisgordan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.