Advertisement · 728 × 90

Posts by Andrew Gallant

Preview
Astral to join OpenAI Astral has entered into an agreement to join OpenAI as part of the Codex team.

astral.sh/blog/openai

4 weeks ago 14 1 0 3
What it means that Ubuntu is using Rust · baby steps

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...)

1 month ago 25 4 1 0

Yeah it basically consumed my entire Saturday haha. I kept struggling with how to find vimscript equivalents. e.g., is it vim.cmd.foo? Or vim.cmd.fn?

I ended up just porting my CoC keybindings over. They were already pretty close to neovim's defaults, so my muscle memory kept protesting.

2 months ago 1 0 0 0

Yes! Ironically, lua_ls was the last thing I setup lol.

2 months ago 1 0 1 0

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.

2 months ago 21 1 4 0
Preview
Soft-deprecating chrono and chrono-tz · Issue #1768 · chronotope/chrono In my year in review post, I wrote: To balance out the ongoing adoption of orphaned crates, I'm inclined to wind down maintenance of chrono and chrono-tz in the coming months. The API design for th...

It's in a pinned issue: github.com/chronotope/c...

2 months ago 3 0 0 0

And examples in the Jiff repo have `query_as` working: github.com/BurntSushi/j...

2 months ago 1 0 1 0
jiff_sqlx - Rust This crate provides integration points for Jiff and SQLx.

It should? docs.rs/jiff-sqlx/la...

I'm not a sqlx user. Last time I checked, improving here was blocked on the sqlx project. Again, last time I checked, sqlx provided chrono/time support on their own and there is some coupling involved there that's not easily accessible to outside crates.

2 months ago 3 0 1 0
Preview
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...

uutils has now fully migrated off of Chrono (which is now soft-deprecated) to Jiff! github.com/uutils/coreu...

2 months ago 37 0 3 0
Advertisement
Preview
I've hesitated to call Donald Trump a fascist. Until now | Opinion After last week the label seems not just acceptable, but necessary.

Thanks for the link. It looks like he actually came to that determination after 2021-01-06: web.archive.org/web/20210204...

2 months ago 5 0 0 0

Trumpism is Fascism

github.com/BurntSushi/n...

2 months ago 52 8 1 0

Alex Pretti’s last words were “are you ok?” said the woman next to him who ICE also pepper sprayed in the face.

2 months ago 16961 5510 126 171

I remember printing out MapQuest directions. And whoever sat in the front was the navigator haha. And on roadtrips, we'd have an atlas book we'd consult when we got lost.

But yeah, now I'm completely dependent on GPS.

2 months ago 3 0 2 0
research!rsc: Floating-Point Printing and Parsing Can Be Simple And Fast (Floating Point Formatting, Part 3)

“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

2 months ago 76 15 1 2

`rg ./some/file/path -e your-pattern` should work

3 months ago 3 0 0 0
jiff::fmt::friendly - Rust A bespoke but easy to read format for `Span` and `SignedDuration`.

I'd rather RFC 9557 for timestamps personally. That way you can include time zone annotations.

For durations, there is ISO 8601, but it's annoyingly difficult to read. I do have a specification and implementation for an alternative in Jiff: docs.rs/jiff/latest/...

3 months ago 8 0 1 0
Advertisement
eBPF Policy Enforcement: Marrying Rust, kfuncs and regexes Build a kernel-level regex policy engine using eBPF kfuncs and Rust. Tutorial on implementing AMSI-like malicious script detection in Linux kernel.

Using the `regex` crate inside the Linux kernel www.dawidmacek.com/posts/2025/r...

3 months ago 23 1 0 0
Preview
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

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...

3 months ago 33 2 0 0
abseil / Performance Hints An open-source collection of core C++ library code

First time seeing this and it is really great! abseil.io/fast/hints.h...

3 months ago 27 5 0 0
Preview
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.

so pumped for the ty beta to finally be here, we did so much great work it rules! astral.sh/blog/ty

4 months ago 126 20 3 2

Yes: github.com/BurntSushi/j...

(See also surrounding code for more comments.)

4 months ago 13 1 2 0
Post image

** 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

4 months ago 35 5 0 0

Note that the Rust regex crate does not use derivatives.

4 months ago 2 0 0 0
The source of the standard Rust Hello World program with the generated assembly before and after the change.

The before version has 11 instructions and stores 56 bytes on the stack. The after version has 3 instructions and stores no data on the stack.

The source of the standard Rust Hello World program with the generated assembly before and after the change. The before version has 11 instructions and stores 56 bytes on the stack. The after version has 3 instructions and stores no data on the stack.

🦀 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! 🎉

5 months ago 533 60 11 3
So, Trump's Lawyer Keeps Txting Me...
So, Trump's Lawyer Keeps Txting Me... YouTube video by LegalEagle

Jaw droppingly wild. www.youtube.com/watch?v=NPtK...

5 months ago 4 0 0 0
Advertisement

FYI, ripgrep doesn't use anstream. Indeed, it doesn't even use `println!`. It bubbles I/O errors up to `main` and handles pipe errors specially: github.com/BurntSushi/r...

6 months ago 4 0 1 0

Thank you!!! <3

6 months ago 2 0 1 0

Second paragraph of the linked page:

In case you haven't heard of it before, ripgrep is a line-oriented search
tool that recursively searches the current directory for a regex pattern.
By default, ripgrep will respect gitignore rules and automatically skip
hidden files/directories and binary files.

6 months ago 4 0 0 0
Preview
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...

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...

6 months ago 86 10 4 2
Preview
crates.io: Malicious crates faster_log and async_println | Rust Blog Empowering everyone to build reliable and efficient software.

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...

6 months ago 119 37 3 4