Michal Piotrowski 🦀
@practicalrs.bsky.social
140 followers 790 following 47 posts
Rust developer at Practical RS. https://practicalrs.com/
Posts Media Videos Starter Packs
practicalrs.bsky.social
I'm not sure if I should go down this rabbit hole - ./x.py bench --stage 1 compiler - I created some benchmarks for SmallVec vs Vec, and I'm starting to doubt in the sense of using SmallVec. Seriously, you should use SmallVec only when you benchmark and prove that it's better.
practicalrs.bsky.social
Congrats to the compiler team!
practicalrs.bsky.social
If you were annoyed by Rust build speed, check the new release. You should be nicely surprised by both the full rebuild and the incremental build speed.

Of course, there are still many things that can be improved, but this is something that we have all been waiting for.
practicalrs.bsky.social
Last Friday I was in a rollercoaster park, because my son had his 10th birthday, so maybe I missed the noise and ovations. Today I had a nice 9,5 hours of work with Rust 1.90.0 compiler, and I must say that LLD is a game changer in terms of build process speed.
practicalrs.bsky.social
LLD is a great win for Rust. Can't wait for other performance improvements! 🤣
practicalrs.bsky.social
I've been using nightly for almost 6 months to use LLD for tests, because it has increased the speed of the whole testing process for me a lot. In Rust 1.90.0, I'm also using it for normal project development. And it speeds up things for me a lot. Finally! 😀
practicalrs.bsky.social
I wonder if dividing a proprietary project into multiple crates isn't an anti-pattern. You have like 320k LOC in 70 crates. Sometimes it's hard to refactor due to circular dependencies. Not to mention the orphan rule. It's not impossible to have that code in subdirs in one crate.
practicalrs.bsky.social
If a function returns Option or Result, it's a good practice to start its name with the try_ prefix. If a function returns a mutable reference, it's a good practice to end its name with the _mut suffix.
practicalrs.bsky.social
This is how new Rust devs feel after the first week 🤣
practicalrs.bsky.social
Just the index of this specification www.hl7.eu/HL7v2x/v24/s... is approximately 74 A4 pages in print.🤦‍♂️
HL7 V2.4
www.hl7.eu
Reposted by Michal Piotrowski 🦀
rust-lang.org
Happy new Rust! 🎆🦀

Rust 1.89.0 has been released!

This release brings you inferrred array length, new lints, u128/i128 in extern "C", NonZero, File::lock, many x86 intrinsics, and much more! ✨

Check out the blog post and release notes for all the details: blog.rust-lang.org/2025/08/07/R...
Announcing Rust 1.89.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
blog.rust-lang.org
practicalrs.bsky.social
it.slashdot.org/story/25/08/... Just wonder how many of such devs work for companies that don't know they are from China 🤣
practicalrs.bsky.social
Over the years, I've got fewer and fewer things that surprise me in Rust. Today I discovered that to solve some problems, {} works better than drop();. 🤷‍♂️
practicalrs.bsky.social
Today, my colleague noticed that I broke a routing to api docs. (framework update fuckup) I'm 100% sure I tested it. Is it a sign of dementia if you fail to test your code changes so miserably? Or I'm just starting to see things that I want to see? (Which may be even worse)
practicalrs.bsky.social
"Rewrite it in Rust" is one of the worst marketing slogans ever. IMO, a much better one would be "Make great, new software with Rust". Or whatever else that doesn't make negative associations.
practicalrs.bsky.social
These are earlier ones. Indeed, it's most likely about organized corporate espionage.
practicalrs.bsky.social
It's from my private email. It's the second time in the last 3 months that someone wants to buy/borrow my account to scam people/companies. I guess it may be a popular scam.
practicalrs.bsky.social
Ok, I've made one mistake in configuring this; it should work now, but it doesn't. I even extended the compilation time. I've got a project that is based on a workspace. It uses edition 2021 and resolver 2. I feel super stupid today 🤣
practicalrs.bsky.social
Strange. For some reason, I don't have any difference for both dev and release profiles. I've checked on rustc 1.90.0-nightly (3014e79f9 2025-07-15). It looks like it's not working with cargo. When I tried RUSTFLAGS="-Zhint-mostly-unused" cargo +nightly build -r, I had comp error