Email or username:

Password:

Forgot your password?
Top-level
Brion Vibber :blobcatcoffee:​

@cwebber imho rust is ok for making a .so with a C API, but interacting with C++ is MUCH harder. And I've tried cbindgen and bindgen and they "work" but ye gods ;)

Fundamentally Rust-the-source-language is like modern C++ header-based libraries. Good fucking luck making a .so without shipping the .h source. ;)

2 comments | Expand all CWs
Jens Finkhäuser 🌻

@brion @cwebber Header based code may be fine, but I find I can't call it a library.

Be

@brion @cwebber cxx is much better for getting Rust and C++ to talk to each other, but there's currently no good way to integrate it into C++ build systems.

Go Up