~/lightning

Lightning Talk: C++ and Rust Bindings - Mixing It Best With CMake

Lightningat CppCon 2024 · on Sunday, 2024-09-15· [rust]
slides:none on file

Recipe for mixing C++ and Rust with CMake: a concrete example builds a cargo library named Mixology, adds the regex and cxx crates, and exposes Rust code to C++ via cxx bindings while parsing with Boost.Spirit and passing data with Boost.Fusion adapters. Rust regex is claimed faster; tests run from CTest using a forked bridge so Rust tests execute inside CMake hermetic builds and a demo shows a failing test and the build output.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.