Rust: The preferred tool for the job
Even with Rust's astronomical growth, there are ecosystems where it's still considered "premature", ecosystems where Rust isn't considered the "best" tool for the job. This doesn't stop Rustaceans however. We take on the challenge of building these ecosystems. We architect, build and rebuild in Rust. Rust might not always be the best tool for the job but for many of us, it is our preferred tool.
In today's newsletter, we have multiple publications from polytope labs, a GUI app for MacOS, a smart contract SDK, an article on unsafe pointers in Rust, and another article on Rust's procedural macros.
Open Source projects
Tauri macOS Spotlight Example
Victor Aremu created an example project that shows how to create Spotlight apps with Tauri.
Solidity Merkle Trees
Published by Polytope Labs, Seun Lalenge created a solidity library for verifying multi-proofs of varying kinds of Merkle trees. This library is built on the lab's research into efficient Merkle multi-proof verification algorithms, starting with the construction of generalized Merkle multi-proofs using a 2-dimensional proof schema. Seun Lanlege also published an article on formalizing the approach. You can read it here.
ICS-15: Ethereum beacon chain light client specification for IBC
Seun Lanlege defines the necessary, types & algorithms needed to run the Ethereum beacon chain light client as an 02-client IBC module. This will allow IBC-enabled chains to communicate with the Ethereum beacon chain.
Seun has also written other technical articles for Polytope Labs which can be seen here.
Procedural Macros in Rust
Kaioh wrote an article explaining Rust's super power - procedural macros. In this article he explains what they are and how to write them
Unsafe Pointers in Rust: Common Pitfalls and How to Avoid Them
In this article, Vijay discusses some common pitfalls when using pointers in Rust and how to avoid them
Ebina created an unofficial Rust SDK library for the Airswap smart contracts