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! ๐
13.11.2025 13:31 โ ๐ 525 ๐ 60 ๐ฌ 11 ๐ 3
Come say hi at #fosdem this weekend!
bsky.app/profile/mara...
28.01.2026 18:17 โ ๐ 15 ๐ 2 ๐ฌ 1 ๐ 0
Come say hi at #fosdem this weekend!
bsky.app/profile/mara...
28.01.2026 18:17 โ ๐ 15 ๐ 2 ๐ฌ 1 ๐ 0
Me in a black and white dress with long very pink hair.
Pink!
28.01.2026 18:16 โ ๐ 57 ๐ 0 ๐ฌ 1 ๐ 0
Jana operating a button making machine, making a batch of Rust buttons.
How many do you think we should make?
27.01.2026 16:50 โ ๐ 11 ๐ 1 ๐ฌ 1 ๐ 1
A whole pile of pin buttons with the rust logo on top of the progress pride flag.
If you want a Rust button and a discount code for RustWeek, come find me at FOSDEM this weekend!
I now have bright pink hair, so should be easy to find :)
#rustlang #rustweek #fosdem
27.01.2026 16:46 โ ๐ 63 ๐ 10 ๐ฌ 1 ๐ 1
We might seriously consider that actually! Maybe some sort of "help me move to the Netherlands" desk at the conference or something. Multiple people have already moved to Utrecht and Delft because of RustWeek/RustNL! :D
27.01.2026 16:40 โ ๐ 6 ๐ 0 ๐ฌ 0 ๐ 0
Only seven hours left to submit your talk proposal for RustWeek 2026!
18.01.2026 15:55 โ ๐ 21 ๐ 1 ๐ฌ 1 ๐ 0
A snowman made of three big balls of snow. She has leaves as eyes, a carrot as nose, sticks as mouth and arms, and little stones as buttons. She is also wearing my pink winter hat. She looks happy.
โ๏ธ
05.01.2026 15:39 โ ๐ 47 ๐ 0 ๐ฌ 0 ๐ 0
Girls just wanna have fun โจ
13.12.2025 16:38 โ ๐ 52 ๐ 8 ๐ฌ 3 ๐ 0
sorry for not posting very much lately im hanging out with incredibly attractive women
06.12.2025 19:34 โ ๐ 80 ๐ 7 ๐ฌ 6 ๐ 0
Perfect! Have fun then. :)
08.12.2025 18:44 โ ๐ 4 ๐ 0 ๐ฌ 0 ๐ 0
Oh, it's actually quite good.
08.12.2025 18:37 โ ๐ 9 ๐ 0 ๐ฌ 1 ๐ 0
A pizza with eight mini pizzas on top.
Pizza with extra pizza.
08.12.2025 18:36 โ ๐ 69 ๐ 2 ๐ฌ 5 ๐ 1
If you want to check the tag bit(s), then something like making .is_aligned() on pointers a const fn would work. (Or a function like .misalignment() -> usize that would give you the sub-alignment bits of a pointer.) Const eval already keeps track of that anyway, so that could be exposed in const.
08.12.2025 16:21 โ ๐ 5 ๐ 0 ๐ฌ 0 ๐ 0
I do some form of pointer tagging in fmt::Arguments in the standard library, partially in const. Around here: github.com/rust-lang/ru...
But that one works because I can assume that in const eval it's always one specific variant. If you actually need to check the tag bit in const, that's different.
08.12.2025 16:17 โ ๐ 11 ๐ 0 ๐ฌ 2 ๐ 0
No, but that can be fixed! Was talking about exactly that with Oli recently.
08.12.2025 15:45 โ ๐ 15 ๐ 0 ๐ฌ 1 ๐ 0
> atomic_compare_Exchange_strong_explicit
oh boy. we're in The Cool Zone of processing shit now
03.12.2025 18:56 โ ๐ 37 ๐ 1 ๐ฌ 2 ๐ 0
Shoutout to @mara.bsky.social for the Rust Atomics Book. It has prepared me for This Precise Moment.
03.12.2025 18:57 โ ๐ 33 ๐ 1 ๐ฌ 0 ๐ 0
Yess, do it!
19.11.2025 14:56 โ ๐ 8 ๐ 0 ๐ฌ 1 ๐ 0
result.rs - source
Source of the Rust file `library/core/src/result.rs`.
Result::unwrap and Result::expect have the same implementation. There is no difference in allocations or anything like that. result.unwrap() is equivalent to result.expect("called `Result::unwrap()` on an `Err` value").
See doc.rust-lang.org/1.91.0/src/c... and doc.rust-lang.org/1.91.0/src/c...
19.11.2025 14:47 โ ๐ 10 ๐ 0 ๐ฌ 1 ๐ 1
If we could go back in time, Result::unwrap() should have been Result::or_panic() and Box::into_inner() should have been Box::unwrap().
19.11.2025 07:59 โ ๐ 46 ๐ 2 ๐ฌ 0 ๐ 0
(That the name "or_panic" would have been better isn't much of a hot take, but adding "or_panic()" now and deprecating "unwrap()" would likely be controversial.)
19.11.2025 07:36 โ ๐ 79 ๐ 0 ๐ฌ 5 ๐ 0
#rustlang hot take: We should rename .unwrap() to .or_panic(). (And .expect() to .or_panic_with().) "Unwrap" is a terrible name for the panicking function, especially since we also have things like .unwrap_or() and .unwrap_or_default() which never panic.
19.11.2025 07:32 โ ๐ 472 ๐ 67 ๐ฌ 36 ๐ 11
Super excited to see you all again at RustWeek next year! โจ
18.11.2025 15:37 โ ๐ 15 ๐ 2 ๐ฌ 0 ๐ 0
The most extreme case is the `large-workspace` benchmark, which is a generated benchmark with hundreds of crates that each just have a few println!() statements. That one now compiles 38% faster and produces a 22% smaller binary. (github.com/rust-lang/ru...)
13.11.2025 14:04 โ ๐ 51 ๐ 0 ๐ฌ 2 ๐ 0
Note that there are also lots of programs where this change makes very little difference. Many benchmarks show just 0.5% or 0.1% improvement, or just zero difference.
13.11.2025 14:04 โ ๐ 36 ๐ 0 ๐ฌ 1 ๐ 0
All my work on string formatting in Rust of the past few years is tracked in this tracking issue: github.com/rust-lang/ru...
I wrote a bit about the history in blog.m-ou.se/format-args/ (two years ago).
This latest change is github.com/rust-lang/ru... and includes some explanation.
13.11.2025 13:52 โ ๐ 26 ๐ 1 ๐ฌ 0 ๐ 1
'Hello world' compiles 3% faster and a few bigger projects like Ripgrep and Cargo compile 1.5% to 2% faster. And those binaries are roughly 2% smaller. ๐
This change will be available in Rust Nightly tomorrow, and should ship as part of Rust 1.93.0 in January.
13.11.2025 13:31 โ ๐ 88 ๐ 1 ๐ฌ 1 ๐ 0
she/her, mostly OSS big data (Spark, Dask, Ray, and friends). I โค๏ธโ๏ธ๐ต. I don't represent my employer. Live @ http://twitch.tv/holdenkarau , http://tech.lgbt/@holden , Twitter was @holdenkarau
stopping by this profile page / youโve stopped to read a verse / i hope it brings a small delight / despite the fact itโs terse
(and should you stay a moment more / in hopes of killing time / i wrote this stanza just for you / and even made it rhyme)
Sr. OSS Advocate & OSPO Lead @ Snowflake โค๏ธ Postgres, Kubernetes, Iceberg, Jupyter โค๏ธ
๐ London
https://celeste.works
tech/music/language girlie. higher SNR @char.lt
10,000ร girlfriend, 25, bun/buns she/her it/its
en/fr/ํ/es ok
๐บ๐ธ๐ณ๏ธโ๐๐ณ๏ธโโง๏ธ๐ฅโ๏ธ๐๐ฉ๐ฝโ๐ป in ๐ฆ๐บ๐จ๐ฆ working on ๐ฏโฌข๐ญ
cofounder/CTO @honeycombio, co-author of Observability Engineering and Database Reliability Engineering. I test in production and so do you. ๐๐ณ๏ธโ๐๐ฆ
24, she/it ๐ณ๏ธโโง๏ธ ฮธฮ
Wake up babe! It's clementime to shine.
I have thoughts. Lots of thoughts. They never stop thinking. Never stop thunking.
hachyderm.io/@hazelweakly
Hardware / software necromancer
collector of Weird Stuff
maker of Death Generators.
she/they
Official account of the C Programming Language, invented by Immanuel Kant in 1799 at Bell Labs Kรถnigsberg
alt account; it/its; creature from the void; evil; my robot girlfriend โ @aria.pds.witchcraft.systemsโฌ; my ouppy boyfriend โ @aphantic.pds.witchcraft.systems
blog.ihatereality.space; github.com/wafflelapkin; i do stuff sometimes; it/its
CPython Core Dev & mypy core team. Rust for CPython co-lead. Former quantum compiler engineer, now at NVIDIA working on Python. Opinions my own.
๐ณ๏ธโโง๏ธ
https://emmatyping.dev
Profile by @li-n-arts.bsky.social
Mastodon: @emmatyping@hachyderm.io
she/her
rustlang reviewer and contributor, rustdoc team leader, gnome foundation member, co-owner of the Gtk-rs organization and of the askama-rs organization
Mastodon: https://toot.cat/@imperio
Rust-lang compiler team, would be playing Tetris but I gave tetris'd a little too close to the sun (tendonitis)
Building the Rust frameworks for Humans and AI at @aonyx.ai
jdno.dev
Iโm usually on @amanda@social.spejset.org (Mastodon).
PhD student of programming languages working on the Polonius borrow checker for Rust. Terrible philosopher. Mid Marxist. Technically a librarian.
she/they/it, ๐ญ
occasionally a TitMouse, frequently a BreastRat
hoping im wrong, thatโd be neat
<she/her>, also on ๐(maya@radikal.social)