3 ms·
It'll be interesting to see the numbers again after LLVM thinLTO starts applying across C++ and Rust resulting in cross-language inlining.
by hsivonen 8y ago
It'll be interesting to see the numbers again after LLVM thinLTO starts applying across C++ and Rust resulting in cross-language inlining.
- unixhero 8y agoI don't know what you are saying here. Can you elaborate?
- hsivonen 8y agoA goal that is being worked towards is making LLVM thinLTO not just consider clang output but to consider clang-generated LLVM IR together with rustc-generated LLVM IR. This is expected to lead to inlining between C++ and Rust making the FFI layer of C-linkage function calls melt away between C++ and Rust.
- pedrocr 8y agoThis seems to be the bug that's tracking this in rust: https://github.com/rust-lang/rust/issues/49879 https://github.com/rust-lang/rust/issues/49879