4 ms·
> Better binding to C++ API You realize that if this is perfect, you've basically implemented C++. It's easy to implement trivial bindings, but much beyond tha
by duaneb 12y ago
> Better binding to C++ API
You realize that if this is perfect, you've basically implemented C++. It's easy to implement trivial bindings, but much beyond that requires an immense, immense effort and development.
- Ygg2 12y agoAnd that's why I said better. Perfect is the enemy of good (enough). I know both are areas of experiments in Rust. I think the intent is to use llvm to link(?!) C++ code in a format Rust can use.
- duaneb 12y ago> I think the intent is to use llvm to link(?!) C++ code in a format Rust can use. It's difficult to see this working except with trivial bits of code. For instance, how would you link to a type generated from a template with a string parameter? The most I can see is linking with an explicit subset of C++.