Would a port of dataclasses to micropython-lib be welcome? #13741
Replies: 4 comments 8 replies
|
Rewriting some of my applications using dataclass was my next learning exercise. I had found this: Have I misunderstood? |
|
Dataclasses are desirable and would certainly be a welcome feature if they could be implemented with reasonable resource usage - and high compatibility with CPython's implementation. |
|
There's a dataclasses-like library that works on MicroPython: |
|
@winni2k I saw your dataclasses discussion and related work in #818. I’ve published a different approach using host-generated metadata and a small MicroPython runtime, originating from Dungeon Drifters. I’d welcome your perspective on whether this could complement your work and whether you’d be interested in collaborating. https://github.com/MrCodeGameandAnime/portable-dataclass-mpy |
Uh oh!
There was an error while loading. Please reload this page.
I think dataclasses are the best. I would be interested in trying my hand at porting the module to micropython-lib. Is that a terrible idea or a great idea?
All reactions