Re:Neverflow: Set of C macros that guard against buffer over...
by kllrnohj on Friday June 02, 2023 @10:01AM
(#36165210)
Exporting a stable C ABI/API in no way requires writing the implementation in C. See Android's NDK for a rather widely deployed example. All the APIs are C, yet none of the implementations are C. Same thing works great in Rust, too. You can trivially export C from a Rust implementation.
[ Parent
| on HN ]
Re:Neverflow: Set of C macros that guard against buffer over...
by epistasis on Friday June 02, 2023 @10:33AM
(#36165622)
My comment acknowledged what you state, but then went on to point out that it requires adding a tool chain to compile Rust or C++, neither of which are trivia and which may not exist at all on the target architecture.