I'm a newbie in python and especially micropython worlds, so I need some help

I know, there is a pure-python library, but I want to try binary one.
Unfortunately this is not a simple process as the way CPython bindings work is very different to MicroPython bindings.bokolob wrote: ↑Wed Mar 10, 2021 4:59 pmI'm a newbie in python and especially micropython worlds, so I need some help Could somebody give me a clue how I could build msgpack (https://github.com/msgpack/msgpack-python). Maybe somebody had done it already. Or maybe there is an instruction (not about this library but general one)?
I wish I could just say "look at how the JSON serialiser works" -- https://github.com/micropython/micropyt ... modujson.c
Code: Select all
mp_obj_print_helper(&print, obj, PRINT_JSON);
Code: Select all
mp_obj_t iter = mp_getiter(iterable, NULL);
mp_obj_t item;
while ((item = mp_iternext(iter)) != MP_OBJ_STOP_ITERATION) {
// do something with item
}
Code: Select all
Isn't it a good ide to add other serialisers into core?