I do not have any experience with C++ and thus none about its python interop, which makes it hard for me to compare it to nim's python interop which I do have some experience with.
Given that, I'm curious what bits of C++/python interop are easier.
I'm mostly asking because my experience of nim-python interop consisted of:
Compile nim module with nimpy imported.
Put compiled nim module somewhere where your python can find it.
write `import <Name_of_module>` in the python file
Done, you now have access to the exported functions and symbols defined in the nim module.
Is it that C++ wouldn't need any additional imports to make it work that makes it more seamless?
Given that, I'm curious what bits of C++/python interop are easier.
I'm mostly asking because my experience of nim-python interop consisted of: Compile nim module with nimpy imported. Put compiled nim module somewhere where your python can find it. write `import <Name_of_module>` in the python file Done, you now have access to the exported functions and symbols defined in the nim module.
Is it that C++ wouldn't need any additional imports to make it work that makes it more seamless?