Tag rust
5 bookmarks have this tag.
5 bookmarks have this tag.
In this deep dive post, I’ll explain how I used the interning design pattern in Rust to compress this data set by a factor of two thousand! We’ll investigate how to best structure the interner itself, how to tune our data schema to work well with it, and likewise how serialization can best leverage interning.
Last week, I built a tiny Linux system from scratch, and booted it on my laptop!
In a previous post, I’ve shown how to use the rayon framework in Rust to automatically parallelize a loop computation across multiple CPU cores.
In this post, I’ll first explain which profiling tools I used to chase optimizations, before diving into how I built a faster replacement of Rayon for my use case. In the next post, I’ll describe the other optimizations that made my code much faster. Spoiler alert: copying some data sped up my code!
Macros, iterators, patterns, error handling and match make Rust almost perfect
In this article we build off what we’ve already learned about io_uring and extend that to build an async echo server.