Y
Hacker News
new
|
ask
|
show
|
jobs
by
undeveloper
159 days ago
the rust abi is explicitly unstable. there are community projects to bring dynamic linking, but it's mostly not worth it.
1 comments
goku12
159 days ago
That is not correct. Dynamic linking is natively supported in Rust. How else do you make modules for scripting languages like Python (using PyO3) [1]? It uses the stable C API (cdylib).
[1]
https://pyo3.rs/v0.15.1/#using-rust-from-python
link
[1] https://pyo3.rs/v0.15.1/#using-rust-from-python