Why Nostr? What is Njump?
2023-05-26 06:19:12

Laurens Valk on Nostr: Maybe it's fun to share some day to day developments... Today I'm working on making ...

Maybe it's fun to share some day to day developments... Today I'm working on making our #Pybricks sensor API async-compatible at minimal cost.

Every byte counts, so I've arrived at something that costs just 4 extra bytes for each async method! Still learning new #MicroPython development tricks every day.

For those in the know... I'm basically modifying the commonly used MP_DEFINE_CONST_FUN... macros/types to "decorate" a C function to behave asynchronously.



Author Public Key
npub1eu9grgmvrh9cj7htm427s8zjjpm7a5qegk9az28jmh3zz5stekrsup5afq