3 ms·
Do you think it's suitable as a game scripting language? How hard is to write bindings for micropython? I've looked into cython but I'm not sure it's what I r
by jokoon 6y ago
Do you think it's suitable as a game scripting language?
How hard is to write bindings for micropython?
I've looked into cython but I'm not sure it's what I really need.
- neilpanchal 6y agoIt is not too difficult, just extremely verbose (even for a simple int arg function): https://docs.micropython.org/en/latest/develop/cmodules.html https://docs.micropython.org/en/latest/develop/cmodules.html This might help: https://github.com/stinos/micropython-wrap https://github.com/stinos/micropython-wrap
- jokoon 6y agothanks, this is nice but building it seems complex. FFI seems more suitable. EDIT: actually neither FFI or this wrapper you linked are what I need. I need to execute micropython from C++, not the other way around.