Tag
The Rust Project is experimenting with function overloading in nightly Rust builds to enhance FFI bindings, especially with C++ interop, through a new #[rustc_splat] attribute for more ergonomic call syntax.
The author argues for a Rust FFI that speaks the Fil-C ABI, enabling safe interop with recompiled C/C++ libraries, and calls for cross-ecosystem collaboration among Rust, Fil-C, Zig, and Nix/filnix communities.
Crubit is Google's bidirectional bindings generator that enables seamless interoperability between C++ and Rust, allowing each language to call the other's functions. The documentation includes examples, walkthroughs, and a status page of supported features.
zalloc replaces malloc, calloc, realloc, and free in C modules with Zig allocators, enabling Zig-style memory management in C code.
This article explains how to use Win32 structures in the Windows Runtime by declaring shadow structures with the same layout, including specific examples and alternatives for common structures.
Hsrs is a type-safe FFI bindings generator that allows Rust code to be called from Haskell with automatic memory management, type conversions, and Borsh serialization. It provides annotations in Rust and generates idiomatic Haskell wrappers.