Andrew Gallant
banner
burntsushi.net
Andrew Gallant
@burntsushi.net
I love to code.

https://burntsushi.net
Pinned
Any contribution would be most welcome, even if it is just a one-time "thanks" for past work. :-) github.com/sponsors/Bur...
Sponsor @BurntSushi on GitHub Sponsors
I'm a member of Rust's libs-api and regex teams. I also maintain ripgrep and a number of libraries in the Rust ecosystem such as csv, walkdir, bstr, memchr, fst, globset, ignore, snap, termcolor an...
github.com
Finally got around to migrating off of CoC to the native neovim LSP client. And while I was at it, I ported my entire vim config over to Lua. It was quite a bit more work that I thought it would be!

It's been over a decade since I've written Lua, but it's a dream come true compared to Vimscript.
January 31, 2026 at 3:50 PM
uutils has now fully migrated off of Chrono (which is now soft-deprecated) to Jiff! github.com/uutils/coreu...
Consider switching from `chrono` to `jiff` · Issue #7852 · uutils/coreutils
Based on discussion in #7849, it seems like it would be interesting to use jiff instead of chrono, at the very least in date: this would make our life easier when handling timezones. Dirty branch h...
github.com
January 29, 2026 at 7:08 PM
Trumpism is Fascism

github.com/BurntSushi/n...
github.com
January 26, 2026 at 5:37 PM
Reposted by Andrew Gallant
Alex Pretti’s last words were “are you ok?” said the woman next to him who ICE also pepper sprayed in the face.
January 24, 2026 at 7:51 PM
Reposted by Andrew Gallant
“Floating-Point Printing and Parsing Can Be Simple And Fast”

The fastest known floating-point printer and parsing algorithms - fixed-width printing, shortest-width printing, and parsing, all in 400 lines of Go.

research.swtch.com/fp
research.swtch.com/fp-proof
research!rsc: Floating-Point Printing and Parsing Can Be Simple And Fast (Floating Point Formatting, Part 3)
research.swtch.com
January 19, 2026 at 10:13 PM
I've updated the rebar benchmarks, and .NET's regex engine in v10 is right about on par with Rust's regex crate! Nice work!

(rebar is, I believe, the most comprehensive public regex benchmark in existence.)

github.com/BurntSushi/r...
GitHub - BurntSushi/rebar: A biased barometer for gauging the relative speed of some regex engines on a curated set of tasks.
A biased barometer for gauging the relative speed of some regex engines on a curated set of tasks. - BurntSushi/rebar
github.com
December 20, 2025 at 1:03 PM
First time seeing this and it is really great! abseil.io/fast/hints.h...
abseil / Performance Hints
An open-source collection of core C++ library code
abseil.io
December 20, 2025 at 3:04 AM
Reposted by Andrew Gallant
so pumped for the ty beta to finally be here, we did so much great work it rules! astral.sh/blog/ty
ty: An extremely fast Python type checker and language server
ty is an extremely fast Python type checker and language server, written in Rust, and designed as an alternative to mypy, Pyright, and Pylance.
astral.sh
December 16, 2025 at 9:03 PM
Reposted by Andrew Gallant
** Speaker announcement ** Our next speaker is Andrew "BurntSushi" Gallant!
Andrew is a member of the Rust project and maintains many important crates.

Info & tickets: 2026.rustweek.org

Do you also want to give a talk? Our CFP is open.
See you in Utrecht in May!

#rustlang #rustweek2026
November 27, 2025 at 3:04 PM
Reposted by Andrew Gallant
🦀 I've improved the implementation behind all the string formatting macros in Rust: println, panic, format, write, log::info, etc. (Everything using format_args!().) They will compile a bit faster, use a bit less memory while compiling, result in smaller binaries, and produce more efficient code! 🎉
November 13, 2025 at 1:31 PM
Jaw droppingly wild. www.youtube.com/watch?v=NPtK...
So, Trump's Lawyer Keeps Txting Me...
YouTube video by LegalEagle
www.youtube.com
October 30, 2025 at 4:23 PM
ripgrep 15 is out! Mostly a host of bug fixes, particularly around gitignore. Some minor perf improvements. A couple small features. And (partial) Jujutsu support for gitignore.

github.com/BurntSushi/r...
Release 15.0.0 · BurntSushi/ripgrep
Sponsorship is appreciated! ripgrep 15 is a new major version release of ripgrep that mostly has bug fixes, some minor performance improvements and minor new features. In case you haven't heard of...
github.com
October 16, 2025 at 3:33 AM
Reposted by Andrew Gallant
The crates.​io team was notified of two malicious crates (with similar names as legitimate crates) which were actively searching file contents for Etherum private keys, Solana private keys, and arbitrary byte arrays for exfiltration.

See the blog post for details: blog.rust-lang.org/2025/09/24/c...
crates.io: Malicious crates faster_log and async_println | Rust Blog
Empowering everyone to build reliable and efficient software.
blog.rust-lang.org
September 24, 2025 at 8:52 PM
Reposted by Andrew Gallant
Happy 10 year anniversary to this tweet! Has memory safety in C++ been solved yet?

x.com/CppCon/statu...
September 22, 2025 at 5:43 PM
Found what appears to be my oldest game save on a physical memory card. From about 18 years ago!

This is from The Simpsons: Hit and Run. On a GameCube memory card.

I do probably have some N64 memory cards lying around... Hmmm.
September 13, 2025 at 12:30 PM
Reposted by Andrew Gallant
We received reports of a phishing campaign targeting crates​.io users. Do not click on links asking to authenticate to protect your account. More information: blog.rust-lang.org/2025/09/12/c...
crates.io phishing campaign | Rust Blog
Empowering everyone to build reliable and efficient software.
blog.rust-lang.org
September 12, 2025 at 2:22 PM
FYI, I got an obvious phishing attempt in my inbox from `security@rustfoundation.dev` that was masquerading as a security breach notification. It made it past gmail's spam filters.

The link goes to the `github.rustfoundation.dev` domain.
September 12, 2025 at 1:26 PM
Reposted by Andrew Gallant
Today, we're announcing our first hosted infrastructure product: pyx, a Python-native package registry.

We think of pyx as an optimized backend for uv: it’s a package registry, but it also solves problems that go beyond the scope of a traditional "package registry".
August 13, 2025 at 6:24 PM
Plato, Aug 2010 - July 7, 2025. You never did quite learn how to poop like a normal cat, but I loved you anyway. I'll miss you buddy.
July 7, 2025 at 6:34 PM
Reposted by Andrew Gallant
Howdy all. I'm unfortunately not going to be with my employer for much longer due to team relocation. If anyone has any info on roles that would allow me to continue my Rust compiler work (in New York City), they'd be greatly appreciated.
July 2, 2025 at 5:31 PM
Reposted by Andrew Gallant
The uv build backend is now stable, and considered ready for production use.

An alternative to setuptools, hatchling, etc. for pure Python projects, with a focus on good defaults, user-friendly error messages, and performance.

When used with uv, it's 10-35x faster.
July 3, 2025 at 1:55 AM
Reposted by Andrew Gallant
spent some time switching #jj-vcs over to @burntsushi.net’s Jiff for datetime handling. look at how much simpler (most) of the code is! github.com/jj-vcs/jj/pu...

there are some things i want to improve down the line, like adding reference support to interim so we can pass around an &Zoned, but…
lib, cli: migrate from `chrono` to `jiff` for timestamp handling by winterqt · Pull Request #6596 · jj-vcs/jj
Jiff 0 is a datetime library which "encourages you to jump into the pit of success" by "providing high level datetime primitives that are difficult to misuse and have reasonable perf...
github.com
May 22, 2025 at 12:03 AM
Surprise surprise. Hugo has yet again started failing to build my web site with an unactionable error message. Happens about once per year. I don't stay aprised of Hugo development. I just want it to work.

This has gotta be at least one of the reasons why people build their SSG.
May 17, 2025 at 3:01 PM
Reposted by Andrew Gallant
Today, we’re announcing the preview release of ty, an extremely fast type checker and language server for Python, written in Rust.

In early testing, it's 10x, 50x, even 100x faster than existing type checkers. (We've seen >600x speed-ups over Mypy in some real-world projects.)
May 13, 2025 at 5:00 PM