RSSAmplifier

Blog

Llogiq on stuff

My github page

llogiq.github.ioRSS feed ↗10 posts

Latest posts

Matching Puzzle Pieces and Disappointing Benchmarks

I recently had a piece of code that used .to_lowercase() to sort some text. Which takes a bit of memory. On the plus side, the code used .sort_by_cached_key, which is pretty cool. But I wondered whether doing the .to_lowercase() log(n) times instead of n times would be slower than allocating a String for each entry, given that for many strings, even the first few charactes would be different.

Write small Rust scripts

Recently I was working on a Rust PR to reduce unreachable_code lint churn after todo!() calls, that basically removes lint messages from unreachable_code after todo!() and instead adds a todo_macro_uses lint which can be turned off while the code is still being worked on. However, once that change was done, I ran into a number of failing tests, because while they had a #![allow(unused)] or some…

Rust A Decade Later

Hi folks, I’m back from RustWeek, and the ten-year celebration also almost marks ten years of me coding in Rust. Cue the (self-)congratulation and the feel-good things. This is hopefully one of those.

Rust Life Improvement

This is the companion blog post to my eponymous Rustikon talk. The video recording and slides are also available now.

Easy Mode Rust

This post is based on my RustNationUK ‘24 talk with the same title. The talk video is on youtube, the slides are served from here.

Semantic Search with Rust, Bert and Qdrant

First for a bit of backstory: While working at Qdrant, I proposed a talk to RustLab Italy 2023, where I would live code a semantic search. Unfortunately, I missed that my window manager (sway) did not support mirroring the screen, so I had to crane my neck to at least partially see what I was doing the whole time, which wasn’t conductive to explaining what I was doing. To everyone who attended the…

bytecount now ARMed and Web-Assembled

It’s been some time since I wrote on this blog. I did blog at other venues and worked a lot, which left too little time to write here. So this is “just” a release announcement for my bytecount crate. And also a bit of talk around SIMD.

Rust in Rhymes II explainer

Update: The talk video is now on YouTube. The slides are here.

Catch 22! Rust in Review

It’s getting late in the year, so it’s time to write another blog post looking what good and bad came out of the year for Rust and what’s likely to happen next year.

Rust 2021 – Looking Back and Forth

2021 was a great year for Rust. The language got more powerful. The standard library gained a good number of new functions and a lot of improvements on the existing ones. The error messages were tweaked and tweaked again. The compiler got faster still, despite at last enabling noalias information by default.