Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rust cannot dynamic link to rust. It can dynamic link to C and be dynamicly linked by C - if you combine the two you can cheat but it is still C that you are dealing with not rust even if rust is on both sides.


Rust can absolutely link to Rust libraries dynamically. There is no stable ABI, so it has to be the same compiler version, but it will still be dynamically linked.


It might help to think of it as two IPC 'servers' written in rust that happen to have the C ABI interfaces as their communication protocol.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: