Every now and then when using native libraries from Rust you’ll be asked to pass a callback across the FFI boundary. The reasons are varied, but often this might be done to notify the caller when “interesting” things happen, for injecting logic (see the S... (more…)
Read more »
Strong opinions and crazy ideas on minimalism, hacking and everything in between. By Sylvain Kerkour, creator of Bloom. (more…)
Read more »
The third and final installment of our series on building a runtime reflection system in Rust looks at how we can dynamically call Rust methods at runtime. (more…)
Read more »
Rust’s central feature is ownership. Although the feature is straightforward
to explain, it has deep implications for the rest of the language. (more…)
Read more »
This post contains a gentle introduction to procedural macros in Rust and a guide to writing a procedural macro to curry Rust functions. The source code for the entire library can be found here. It is also available on crates.io. (more…)
Read more »