3 ms·
Similar situation here but a bit too late for us :] We want C++ with Python on top, and evantually able to run on some RTOS. CPython didn't quite cut it in how
by stinos 11y ago
Similar situation here but a bit too late for us :] We want C++ with Python on top, and evantually able to run on some RTOS. CPython didn't quite cut it in how easy it was to get running on small platforms (if it sees a windows compiler it assumes there's a registry etc, go figure) but luckily we found http://micropython.org/ http://micropython.org/ which has enough of the Python 3.4 syntax yet is small, well written and C99. But because it's rather 'young' there are no binding solutions so we quickly had to come up with one ourselves. (quickly because at the time we still had to decide whether to really go with MicroPython or not) Result is here https://github.com/stinos/micropython-wrap https://github.com/stinos/micropython-wrap and the similarities with the way better written PyBind11 are still striking so I guess we didn't do that bad of a job. Though we're definitely going to look into how PyBind11 solved keyword arguments (never got into that).