Daily Shaarli

All links of one day in a single page.

April 4, 2025

Deadlock-free Mutexes and Directed Acyclic Graphs
thumbnail

Interesting trick to check at runtime that you always acquire mutexes in the same order.

Why I stopped using AI code editors

Even if you use LLMs, make sure you don't depend on them in your workflows. Friction can indeed have value. Also if you're a junior you should probably seldom use them, build your skill and knowledge first... otherwise you'll forever be a beginner and that will bite you hard.

A Study of Undefined Behavior Across Foreign Function Boundaries in Rust Libraries

Rust itself might bring interesting properties in term of safety. As soon as it needs to interact with other languages though the chances of undefined behavior increase drastically. This definitely pushes towards using more dynamic analysis tools to catch those.

Introducing Stringleton

Nice feature, but more interesting in its explanation is the topic of static initializers in Rust. They're clearly not a settled area in the language, that's in part because of how low level static analyzers are.

Anime.js | JavaScript Animation Engine

Interesting JS library for animation on the Web. It's nice that it seems really small.