RSSAmplifier

Blog

Philippe Gaultier's blog

gaultier.github.ioRSS feed ↗54 posts

Latest posts

Optimization tales in production with CockroachDB: the slow list of users (part 4)

Optimization tales in production with CockroachDB: the slow list of messages (part 3)

Optimization tales in production with CockroachDB: the slow logout (part 2)

Optimization tales in production with CockroachDB: the slow password reset flow (part 1)

Don't run SQL migrations in tests: How I sped up the test suite by 2x

Detect data races with DTrace in any language

How to make your own static site generator

In Rust, <code>let _ = ...</code> and <code>let _unused = ...</code> are not the same

A silly shell pitfall

The production bug that made me care about undefined behavior

Detecting goroutine leaks with DTrace

What HTTP routes does your application provide?

A million ways to die from a data race in Go

How to reproduce and fix an I/O data race with Go and DTrace

See all network traffic in a Go program, even when encrypted and compressed

Are my SQL files read at build time or run time?

Observe live SQL queries in Go with DTrace

An amusing blind spot in Go&#39;s static analysis

A subtle bug with Go&#39;s errgroup

An optimization and debugging story with Go and DTrace

A subtle data race in Go

What should your mutexes be named?

Build PIE executables in Go: I got nerd-sniped

Tip of the day #6: Use Bpftrace to estimate how much memory an in-memory cache will use

Making my static blog generator <del>11</del> 33 times faster

Tip of the day #5: Install Go tools with a specific version

Making my debug build run 100x faster so that it is finally usable

Addressing CGO pains, one at a time

Tip of the day #4: Type annotations on Rust match patterns

The missing cross-platform OS API for timers

Way too many ways to wait on a child process with a timeout

Perhaps Rust needs &quot;defer&quot;

Tip of the day #3: Convert a CSV to a markdown or HTML table

Lessons learned from a successful Rust rewrite

Tip of the day #2: A safer arena allocator

Tip of the day #1: Count lines of Rust code, ignoring tests

A small trick for simple Rust/C++ interop

Odin and musl: Cross-compiling Odin programs for the Raspberry Pi Zero

Let&#39;s write a video game from scratch like it&#39;s 1987

How to rewrite a C++ codebase successfully

A small trick to improve technical discussions by sharing code

You&#39;ve just inherited a legacy C++ codebase, now what?

Quick and easy PNG image size reduction

Body of work

This blog now has an Atom feed, and yours should probably too

Solving a problem with Gnuplot, the programming language (not the plotting software!)

Roll your own memory profiling: it&#39;s actually not hard

Learn Wayland by writing a GUI from scratch

Optimizing an Advent of Code solution in assembly

Cycle detection in graphs does not have to be hard: A lesser known, simple way with Kahn&#39;s algorithm