Get the latest tech news

Zngur: A C++/Rust interop tool


(/zængɑr/) is a C++/Rust interop tool. It tries to expose arbitrary Rust types, methods, and functions while preserving its semantics and ergonomics as much as possible.

It tries to expose arbitrary Rust types, methods, and functions while preserving its semantics and ergonomics as much as possible. C++ has macro-like templates, which support variadic, specialization and are checked at instantiation time. Specially, since Rust assumes that every type is Rust-moveable, it can never store C++ objects by value, just over some indirection and Pin.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Zngur

Zngur