Can you write python modules in rust?
I would like to write small parts of my project as separate high performance modules, and I don't want to do it in C, it makes me sad.
I would like to write small parts of my project as separate high performance modules, and I don't want to do it in C, it makes me sad.
The long version is: go watch this video from PyCon that will answer this question and probably others https://www.youtube.com/watch?v=3CwJ0MH-4MA
But anything more complicated than that (defining extension types etc.) isn't yet supported by the high-level bindings, and would need unsafe code using the python C API directly.