Michael Snoyman on Nostr: Rust's ownership model does much more than ensuring memory safety. Here's some code I ...
Rust's ownership model does much more than ensuring memory safety. Here's some code I wrote yesterday that implements a basic work-stealing algorithm within a tokio context to get asynchronous parallelism of a large data load. All protected by ownership! https://github.com/fpco/cosmos-rs/pull/55/files#diff-1bbfec07873b3611e11ddbe1934c20bc353f01174a416408aefd9a4b8dd193a2R91
Yes, this project is focused on crypto, which is my main focus at work these days. Doesn't take away from the beauty of Rust.
Yes, this project is focused on crypto, which is my main focus at work these days. Doesn't take away from the beauty of Rust.