3 ms·
Nimpy: https://github.com/yglukhov/nimpy https://github.com/yglukhov/nimpy A good test as an example: https://github.com/yglukhov/nimpy/blob/master/tests/tpyfr
by jasfi 6y ago
Nimpy: https://github.com/yglukhov/nimpy https://github.com/yglukhov/nimpy
A good test as an example: https://github.com/yglukhov/nimpy/blob/master/tests/tpyfromnim.nim https://github.com/yglukhov/nimpy/blob/master/tests/tpyfromn...
I've tried it and it works fine. The only problem I ever had was trying to call a specific Python function at the same time from multiple Nim threads. I'm not sure where the fault lay exactly, I just made that part of the code single-threaded and moved on.