Advertisement · 728 × 90

Posts by David Tolnay

Toasty, an async ORM for Rust, is now on crates.io

Apparently, if a crate is not 100% human written, it is off topic for /r/rust: reddit.com/r/rust/comme.... I have been working on Toasty for 3 years, 9 months with AI tools. I am quite proud of the code quality and stand by it. By their standard, the entire tokio-rs GitHub organization is now OT.

2 weeks ago 157 13 23 14

hot take: for a library with no dependencies that isn’t exposed to untrusted inputs, “unmaintained” is actually the most secure state possible

4 weeks ago 111 3 8 1
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

3 months ago 76 15 1 2
Preview
Reflection MVP by oli-obk · Pull Request #146923 · rust-lang/rust I am opening this PR for discussion about the general design we should start out with, as there are various options (that are not too hard to transition between each other, so we should totally jus...

RUST REFLECTION MVP HAS LANDED github.com/rust-lang/ru...

THIS IS NOT A DRILL

3 months ago 186 40 9 4

i take great solace in the fact that my brother, the only true 10x software engineer that i know, has barely heard of IDEs let alone "generative AI"

3 months ago 28 2 1 0
[PATCH] GCC, meet C++20

all these people go on about how stable C and C++ are, and how Rust changes too much.... but then they also talk about how their work codebase is stuck on C89 or C++17.

gcc's "codebase isn't fully C++20 ready" gcc.gnu.org/pipermail/gc...

5 months ago 67 7 4 0

who do i have to pay to get a rustfmt that doesn't shit itself on long lines

6 months ago 34 3 4 0
Advertisement

Once I wrap up some other projects. It is definitely on my list.

6 months ago 13 0 2 0

Useful not just for language keywords, but also identifiers given meaning by macros. For example `thiserror` treats fields named "source" as the Error::source() of your error. If your source means something else, instead of fussing with some kind of #[not_source] attribute, just name it r#source.

6 months ago 12 1 0 0
Preview
Our $100M Series B / Oxide Raising our Series B round of financing

🎉We raised $100M USD in our Series B financing. Thank you to USIT for leading this round, to our existing investors for their participation, and to our team, customers, and community for getting us to where we are today!

oxide.computer/blog/our-100...

8 months ago 227 25 6 9
Preview
Technology | 2025 Stack Overflow Developer Survey

once again, #rustlang is the most admired programming language on the stack overflow survey: survey.stackoverflow.co/2025/technol...

8 months ago 95 12 5 1

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.

9 months ago 92 45 1 1
Post image

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

11 months ago 333 84 14 14
Preview
GitHub - dtolnay/buck2-rustc-bootstrap: Compile Rust compiler using Buck2 Compile Rust compiler using Buck2. Contribute to dtolnay/buck2-rustc-bootstrap development by creating an account on GitHub.

github.com/dtolnay/buck...

Build #rust via buck2 instead of x.py, very cool project by @dtolnay.bsky.social

11 months ago 42 4 0 0
Advertisement

🦀 Hello World!

The Rust project now has an official presence on Bluesky! ✨

We'll be posting the same on our Mastodon and Bluesky accounts, so you won't miss anything on either platform.

1 year ago 1470 287 32 24
Preview
Memory safety for web fonts  |  Blog  |  Chrome for Developers Learn how and why the Chrome team has replaced FreeType with Skrifa.

New blog post up on the Rust font loader now shipping in Chrome. I only had a small part in this personally but am proud of the team's work. developer.chrome.com/blog/memory-...

1 year ago 107 26 3 2
Preview
cmd/compile: slow escape analysis in large package in the typescript compiler · Issue #72815 · golang/go Go version go version go1.24.1 linux/amd64 Output of go env in your module/workspace: AR='ar' CC='gcc' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_ENABLED='1' CGO_FFLAGS='-O2 -g' ...

TypeScript team: rewrites compiler in Go.

Go community: what do you mean your new compiler takes more than a minute to compile? Unacceptable. Dishonorable even. We are so sorry for this sub par experience. Not how we do things around here.

Two days later: WIP 5x speedup.

HN: why pick Go anyway?

1 year ago 669 125 14 12
Carefully But Purposefully Oxidising Ubuntu Last month I published Engineering Ubuntu For The Next 20 Years, which outlines four key themes for how I intend to evolve Ubuntu in the coming years. In this post, I’ll focus on “Modernisation”. Ther...

Carefully but Purposefully Oxidising Ubuntu #rustlang

discourse.ubuntu.com/t/carefully-...

1 year ago 71 12 3 0

There are probably 4–6 people who, if they had dedicated their 10 years to a different language or hobby, you would not be hearing success stories about Rust.

1 year ago 91 5 1 1

but what I can say is, I personally sat down one evening and said "I think Rust can be the next great systems programming language" and then dedicated the next ~10 years of my life to making that happen

1 year ago 55 4 2 1
Rust for Linux Adding support for the Rust language to the Linux kernel

very glad to see this rust-for-linux.com/rust-kernel-...

1 year ago 107 14 1 3
Preview
Carbon is not a programming language (sort of) Within C++, there is a much smaller and cleaner language struggling to get out.

Carbon is not a programming language (sort of) #cpp herecomesthemoon.net/2025/02/carb...

1 year ago 54 5 4 2
Advertisement
The two factions of C++

Yikes #cpp www.reddit.com/r/cpp/commen...

1 year ago 116 6 13 0

I don’t know who needs to hear this, but &serde_json::Value implements serde::Deserializer

1 year ago 24 1 2 1
Post image

We’re building a new static type checker for Python, from scratch, in Rust.

From a technical perspective, it’s probably our most ambitious project yet. We’re about 800 PRs deep!

1 year ago 725 104 35 34
Oxide and Friends 1/13/2025 -- Crates We Love
Oxide and Friends 1/13/2025 -- Crates We Love YouTube video by Oxide Computer Company

Not a surprise that we love Rust at @oxide.computer! It's ecosystem of crates is a great strength. Last night @bcantrill.bsky.social and I spoke with our colleague @sunshowers.io, @elizas.website, and @steveklabnik.com about the crates we love. Lotta great stuff out there!

youtu.be/BTnrXDjxbBw

1 year ago 43 11 2 1
Join the Oxide Computer Discord Server! The Oxide Computer Company and friends; home of the Oxide and Friends podcast. | 4019 members

The Rust ecosystem is amazing, but it can be hard to discover new crates. Today @ahl.bsky.social and I will be joined by our colleagues @elizas.website and @sunshowers.io, who will offer their wisdom and walk us through some crates you should know. Join us, 5p Pacific!

discord.gg/QrcKGTTPrF?e...

1 year ago 132 16 7 3
error: avoid using labels containing only the digits `0` and `1` in inline assembly
   --> hal-x86_64/src/segment.rs:243:14
    |
243 |             "1:",
    |              ^ use a different label that doesn't start with `0` or `1`
    |
    = help: start numbering with `2` instead
    = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86
    = note: see <https://github.com/llvm/llvm-project/issues/99547> for more information
    = note: `#[deny(binary_asm_labels)]` on by default

error: avoid using labels containing only the digits `0` and `1` in inline assembly --> hal-x86_64/src/segment.rs:243:14 | 243 | "1:", | ^ use a different label that doesn't start with `0` or `1` | = help: start numbering with `2` instead = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 = note: see <https://github.com/llvm/llvm-project/issues/99547> for more information = note: `#[deny(binary_asm_labels)]` on by default

why Rust is the greatest programming language of all time, in one screenshot

1 year ago 326 36 5 5
Preview
Shrink derive output size by nnethercote · Pull Request #2250 · serde-rs/serde This PR has a series of commits that shrink the size of the code generated for derive(Serialize, Deserialize), particularly for large structs. Here are some instruction count results for some synth...

This is the ideal design for a trait-impl-based serialization library IMO. See this comment: github.com/serde-rs/ser... where I arrived at this same concept (in less detail) where it talks about "the ultimate non-generic DeserializeSeed" as my preferred design for a standard library std::serde.

1 year ago 11 0 1 0
How Designing Carbon C++ Interop Taught me About C++ Variadics & Bound Members - Chandler Carruth
How Designing Carbon C++ Interop Taught me About C++ Variadics & Bound Members - Chandler Carruth YouTube video by CppNorth

A somewhat unusual / less formal talk from me at CppNorth about both #CarbonLang and #CPlusPlus is up! youtu.be/8SGMy9ENGz8

I hope you all enjoy it, I enjoy these weird corners of language design.

1 year ago 16 5 0 0