![]() There is now an option to have the GC heap split across more than one pool of memory, although this is not yet in use by the ports. mpy file includes native code, allowing the native ABI to change while retaining backwards compatibility with pure bytecode. Whole number floats are now formatted exactly, and there have been other accuracy improvements to parsing and formatting of floats. The MicroPython VM/runtime has also seen many improvements and bug fixes, including: addition of hex/fromhex methods to bytes/memoryview/bytearray, dictionary union (PEP 584), support for _float_ and _complex_ functions, support for _dict_ on module objects and UTF-8 validation of all strings. See commits 662b976 and 3ac8b58 for details. Any third-party C extensions will need to be updated to work with this change. ![]() This resulted in a reduction of code size of many kilobytes for all ports (eg around 1200 for bare-arm) with a very minimal loss in performance. In the MicroPython runtime, core/built-in types have been compressed by only including in the C-level type struct as many slots for C function pointers as is needed for a given type (instead of storing NULL pointers for unused slots). ![]() As part of this, all pure-Python drivers have been moved from the micropython repository to the micropython-lib repository, making it easier to install the packages needed for a given project. Mip can be run directly on a device (with network connectivity) or via mpremote. It is intended to take over the role of upip and supports installing packages from micropython-lib as well as any URL. This release of MicroPython introduces a new lightweight package manager called mip, which uses a custom protocol to query and install packages that is optimised for embedded systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |