Y
Hacker News
new
|
ask
|
show
|
jobs
by
buzzdenver
878 days ago
Can somebody eli5 how this works, or point me to some description? Let's say I'm pip installing it. How does the rust code turn into something that python can call?
1 comments
steveklabnik
878 days ago
It’s the same thing as when Python calls out to a module written in C.
In this case they’re using
https://crates.io/crates/pyo3
to make the process easier.
link
In this case they’re using https://crates.io/crates/pyo3 to make the process easier.