-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
rfcRequest for CommentRequest for Comment
Description
This is informational ticket to refer people too.
Currently, MicroPython doesn't have analog of ".pyd" modules of MicroPython - i.e. native shared/dynamic libraries compiled from C code.
It might be more or less easy to add such support for particular port, and contrary, quite not easy to add support for MicroPython, i.e. which would work consistently across all ports and builds.
Culprits are are:
- Too big differences between various dynamic library formats, so cannot rely on any "advanced" features, and should provide "least common denominator" for API symbols lookup (which is an array of function pointers, passed to module init function).
- Baremetal ports don't have OS-provided dynamical loading support at all, so will need to implement own loader, and then provide build support for corresponding binary format.
- Lack of public API in MicroPython. Or rather, currently all APIs are "public" and are not stable.
Metadata
Metadata
Assignees
Labels
rfcRequest for CommentRequest for Comment