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

Rust is C-linkable, right? How hard would it be to use this from C?


You'd need to write the C API yourself. Probably not worth it, unless there's something special you need from this particular library.

https://doc.rust-lang.org/book/ffi.html#calling-rust-code-fr...


Why use this library when similar libraries implemented in C have been in production for decades?


What C library is there that I can use? I don't want a C interface to Bullet.




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

Search: