Why don't these x100 programmers who proclaim x100 productivity of LISP/Scheme rewrite some open source project in LISP/Scheme and make it better? Shouldn't it demonstrate how superior LISP is?
Name:
Anonymous2019-10-30 10:35
The cpp crate allows you to embed C++ code inside of Rust code using the ´cpp!´ macro. It does this by taking all the in-line C++ code and writing it into a separate .cpp file which will be compiled into the resulting object code of the Rust crate.
cbindgen and cpp complement each other nicely. cbindgen can be used to make your data types accessible and the cpp crate makes it easy to create binding functions which use those types.