Comparison with Zngur
Hi Team,
We are looking to use this interop library in our c++ code. But it looks like https://github.com/HKalbasi/zngur also provides similar functionality. What are the core considerations one should make while choosing one?
Thanks, Ankit
Hey, author of Zngur here.
I will try to give you an unbiased summary: CXX is more mature and stable, and is more widely used. Zngur has more features, specially for using Rust in C++ direction, and is more willing to add features (potentially via breaking changes). There are also some style differences, e.g. CXX uses a proc macro in Rust code but Zngur uses a separate file for IDL.
You can find a (more biased) comparison with CXX and other tools at Zngur docs: https://hkalbasi.github.io/zngur/how_it_compares.html
Thanks a lot for the detailed summary, @HKalbasi — that’s very helpful!