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
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 `[email protected]` 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
Biff is command line tool for datetime arithmetic, parsing, formatting, rounding and more. It's built on top of Jiff, which means it is DST aware and has tight integration with time zones.

github.com/BurntSushi/b...
GitHub - BurntSushi/biff: A command line tool for datetime arithmetic, parsing, formatting and more.
A command line tool for datetime arithmetic, parsing, formatting and more. - BurntSushi/biff
github.com
May 12, 2025 at 2:05 PM
"All in all, I think the documentation [of Jiff] very comprehensive, pretty discoverable, super approachable, and explains its philosophy pretty well. It has lots of explanations and simple how-to guides, and a comprehensive reference."

www.harudagondi.space/blog/rust-do...
A Rust Documentation Ecosystem Review
www.harudagondi.space
May 10, 2025 at 7:02 PM
I marked `xsv` as being officially unmaintained and archived the repository: github.com/BurntSushi/xsv

It had been de facto unmaintained for some time and some excellent tools have popped up in its place. So it's time to pass the torch!
GitHub - BurntSushi/xsv: A fast CSV command line toolkit written in Rust.
A fast CSV command line toolkit written in Rust. Contribute to BurntSushi/xsv development by creating an account on GitHub.
github.com
April 24, 2025 at 3:50 PM
I am planning to release Jiff 1.0, a datetime library for Rust, this summer. After that, I do not plan to make breaking changes, possibly indefinitely.

I would LOVE LOVE LOVE more experience reports before stabilizing Jiff. Tell your friends.

github.com/BurntSushi/j...
BurntSushi jiff Experience Reports · Discussions
Explore the GitHub Discussions forum for BurntSushi jiff in the Experience Reports category.
github.com
April 17, 2025 at 12:37 PM
Murph (4.5yo son) had his first lesson in historiography yesterday. I was listing off a bunch of random facts about George Washington, and Murph asked where he was. I said he died a long time ago. Then Murph (roughly) asks, "but then how do you know all that about him?"
April 10, 2025 at 2:52 PM
Reposted by Andrew Gallant
woops /r/rust posted about facet like... one day too early x)

I updated the READMEs with some practical examples, hopefully it shows the value better: github.com/facet-rs/fac...
GitHub - facet-rs/facet: Rust const and no_std reflection — the last derive you'll ever need
Rust const and no_std reflection — the last derive you'll ever need - facet-rs/facet
github.com
April 10, 2025 at 2:36 AM