3 ms·
I'd really like to see some guides for using rust incrementally in a large C or C++ codebase. * What are some good ways to deal with a lot of C macros and C/C+
by jeffdavis 10y ago
I'd really like to see some guides for using rust incrementally in a large C or C++ codebase.
* What are some good ways to deal with a lot of C macros and C/C++ header files in general.
* What is a good build strategy for integrating with a big, say, cmake build system?
* How to choose APIs, other than always using the lowest common denominator (C) for everything? Put another way, how do you choose which parts to write in rust first so that you don't end up with rust code that looks like it's translated from C?
* How to work with other memory allocation strategies, like a region allocator (like postgres memory contexts)?