Pinned
Any contribution would be most welcome, even if it is just a one-time "thanks" for past work. :-) github.com/sponsors/Bur...
Andrew Gallant
@burntsushi.net
I love to code. https://burntsushi.net
2.5K followers40 following387 posts
Pinned
Any contribution would be most welcome, even if it is just a one-time "thanks" for past work. :-) github.com/sponsors/Bur...
Andrew Gallant reposted
The Rust Style Guide used by Google has been open sourced! google.github.io/styleguide/r...
ripgrep 15.2.0 is out! It has some gitignore bug fixes and a nice speed-up for large directory trees. github.com/BurntSushi/r... Pictured is on my checkout of github.com/NightMachina...
The speed-up came from this PR by a contributor! github.com/BurntSushi/r...
regex 1.13 now has a `regex!` macro (NOT compile time regex) that encapsulates the common pattern of using something like `std::sync::LazyLock` to ensure it only compiles ~once. github.com/rust-lang/re...
See discussion at github.com/rust-lang/re... for more details.
Note that this macro is NOT for compile time regexes. This is just a terse convenience for compiling a regex once at *runtime* and being able to reuse it without needing to write your own `static`. See github.com/rust-lang/re... and github.com/rust-lang/re... for more details on compile time regexes
Plausibly low hanging fruit for improving substring search performance in Rust's standard library! github.com/rust-lang/ru...
I was recently diagnosed with a rare autoimmune disorder called anti-NMDA receptor encephalitis. It's a "disease of chaos" that completely upturned my life for a couple months. I wrote a blog about it that goes into more detail and discusses prognosis. :-) burntsushi.net/encephalitis/
My new NAS build. My previous NAS was in continuous operation for about 10 years. It served me well, but it was time for an upgrade. pcpartpicker.com/user/burntsu...
Shoutout to the `lexopt` crate as a great example of a Rust library that is effectively done. It's only had 6 releases in its 5 years of life. It's basically perfect if your needs match its level of abstraction. github.com/blyxxyz/lexopt
While I switched ripgrep from Clap to lexopt for command line argument parsing, I still think Clap is the right choice most of the time. github.com/BurntSushi/r...
I love to see it! I'm curious if they will write the regex engine in Rust too. :-) github.com/uutils/grep
My son Murphy getting a successful POST on his first attempt. He doesn't know how good he has it. youtu.be/-HBOBskFMVg?...
Andrew Gallant reposted
I've added an AI policy to ripgrep that was shamelessly copied from uv's policy. I plan to add this to the rest of my projects, but if anyone wants to offer feedback on wording, now would be a good time! github.com/BurntSushi/r...
Why don't Jiff's strftime and strptime routines validate the format string separately from formatting or parsing a datetime? github.com/BurntSushi/j...
Andrew Gallant reposted
What it means that Ubuntu is using Rust, new blog post with some thoughts spurred by Jon Seager's excellent keynote at @rustnationuk.bsky.social (smallcultfollowing.com/babysteps/bl...)
uutils has now fully migrated off of Chrono (which is now soft-deprecated) to Jiff! github.com/uutils/coreu...
Andrew Gallant reposted
Andrew Gallant reposted
“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
Using the `regex` crate inside the Linux kernel www.dawidmacek.com/posts/2025/r...
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...
First time seeing this and it is really great! abseil.io/fast/hints.h...
Andrew Gallant reposted
so pumped for the ty beta to finally be here, we did so much great work it rules! astral.sh/blog/ty
Andrew Gallant reposted
Andrew Gallant reposted
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...
Andrew Gallant reposted
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...
Andrew Gallant reposted
Happy 10 year anniversary to this tweet! Has memory safety in C++ been solved yet? x.com/CppCon/statu...
Andrew Gallant reposted
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...
Andrew Gallant reposted