The blog post analyzes the Swiss tax system's impact on married couples, revealing how tax penalties vary by canton and income levels.
The author describes a weekend project to compress a 10GB JSON database of historical disruptions on Paris' public transport network. The post explains how the author used the interning design pattern in Rust to compress the data ...
The post discusses the author's optimization adventures in making a parallel Rust workload even faster with data-oriented design and other tricks. It covers various optimizations such as inlining, writing better arithmetic, optimi...
The author describes an optimization journey that led to a 10x speed-up from the baseline of a Rust workload using the rayon framework. The author explains the profiling tools used to chase optimizations and how a faster replaceme...
The post discusses the usefulness of array::from_fn in const contexts, and the effort required to implement it. It explains the need for const functions and the challenges faced in implementing them. The author provides a detailed...
0Thoughts on the xz backdoor: an lzma-rs perspective
2024-04-08 •
The text discusses the xz backdoor in the Rust ecosystem, the author's thoughts on the topic, and the implications for security and maintenance of critical dependencies. It also explores the risks and benefits of rewriting softwar...
The author discusses the process of making his website smaller and faster by adding a dark mode, inventorying all the colors defined by layers of CSS frameworks, blog templates and his own additions, and optimizing many other aspe...
The text is an announcement of STV-rs, a Rust implementation of Single Transferable Vote (STV) algorithms. It explains the STV voting method, the counting process, Droop quota, Meek's method, and handling equal preferences. It als...
The blog post explores SIMD support with Rust on Android. It describes how to effectively use the SIMD instructions and get the most performance out of them. It also discusses the overhead of CPU feature detection and various ways...
The post is about testing Rust’s support of SIMD instructions on ARM with Android. The author presents his journey down to the details of detecting CPU features and reviews the existing detection methods. He also walks through how...
The author discusses the process of compiling Rust libraries for Android apps, including testing ARM-specific instructions, using an Android phone for testing, and patching the Rust compiler. The post covers building an Android ap...
The blog post discusses the author's findings on Rust benchmarks and the correct usage of std::hint::black_box. It explains the #[bench] interface, the effect of std::hint::black_box on a benchmarking loop, and its application to ...
The blog post discusses the implementation of Shamir's Secret Sharing in Rust by Guillaume Endignoux. It covers the use of Rust's const generics, detecting CPU-specific instructions, tests, benchmarks, and building a command-line ...
The text is about the implementation of Shamir's Secret Sharing in Rust. It explains the mathematics behind Shamir's Secret Sharing, the optimizations that can be made, and the arithmetic operations in finite fields. The author al...
The blog post discusses the use of asynchronous streams in Rust to cancel expired requests. It explains how to set up a worker task, resolve and buffer queries, filter cancelled queries, and handle unordered buffering. The post al...
The text is a tutorial on asynchronous streams in Rust, focusing on futures, buffering, and compilation error messages. The author shares their experience learning how to use and compose streams, and provides case studies and code...
The author's website was affected by a major fire in a data center, causing it to be unavailable. The author was able to recover the website and learned valuable lessons from the experience, including the importance of automating ...