interop

Tag

Cards List
#interop

Rust Function Overloading - Call for Experimentation

Lobsters Hottest · 2026-08-30 Cached

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.

0 favorites 0 likes
#interop

I want extern "fil-c"

Lobsters Hottest · 2026-08-13 Cached

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.

0 favorites 0 likes
#interop

Crubit, C++/Rust Bidirectional Interop Tool

Lobsters Hottest · 2026-08-06 Cached

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.

0 favorites 0 likes
#interop

zalloc: Use zig allocators in your c code

Lobsters Hottest · 2026-06-08 Cached

zalloc replaces malloc, calloc, realloc, and free in C modules with Zig allocators, enabling Zig-style memory management in C code.

0 favorites 0 likes
#interop

How do I use Win32 structures from the Windows Runtime?

The Old New Thing (Raymond Chen) · 2026-05-21 Cached

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.

0 favorites 0 likes
#interop

Show HN: Hsrs – Type-Safe Haskell Bindings Generator for Rust

Hacker News Top · 2026-05-19 Cached

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.

0 favorites 0 likes
← Back to home

Submit Feedback