Michal Piotrowski ๐Ÿฆ€'s Avatar

Michal Piotrowski ๐Ÿฆ€

@practicalrs.bsky.social

Rust developer at Practical RS. https://practicalrs.com/

128 Followers  |  789 Following  |  34 Posts  |  Joined: 22.12.2023  |  1.7302

Latest posts by practicalrs.bsky.social on Bluesky

HL7 V2.4

Just the index of this specification www.hl7.eu/HL7v2x/v24/s... is approximately 74 A4 pages in print.๐Ÿคฆโ€โ™‚๏ธ

12.08.2025 12:57 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Announcing Rust 1.89.0 | Rust Blog Empowering everyone to build reliable and efficient software.

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

07.08.2025 11:18 โ€” ๐Ÿ‘ 207    ๐Ÿ” 50    ๐Ÿ’ฌ 4    ๐Ÿ“Œ 6

it.slashdot.org/story/25/08/... Just wonder how many of such devs work for companies that don't know they are from China ๐Ÿคฃ

04.08.2025 18:51 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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();. ๐Ÿคทโ€โ™‚๏ธ

04.08.2025 14:45 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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)

30.07.2025 09:30 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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

27.07.2025 21:15 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image

These are earlier ones. Indeed, it's most likely about organized corporate espionage.

17.07.2025 14:44 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Post image

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.

17.07.2025 14:07 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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 ๐Ÿคฃ

16.07.2025 17:51 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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

16.07.2025 16:33 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Call for Testing: Speeding up compilation with `hint-mostly-unused` | Inside Rust Blog Want to follow along with Rust development? Curious how you might get involved? Take a look!

blog.rust-lang.org/inside-rust/...

16.07.2025 14:25 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Release 25.07 Highlights | Helix A post-modern modal text editor.

helix-editor.com/news/release...

15.07.2025 20:03 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

The Rust compiler has crossed over 300,000 commits in its repository. It's now getting around 5,000 commits for each release.

15.07.2025 07:29 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

For years I named the primary key of each table just id. After starting working on a large project that uses SeaORM I realized that it's nice to name a primary key like table_name_id and create a new type for it.

19.06.2025 12:14 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

The problem with many startups is building features users donโ€™t need, using limited development resources, to impress people who will never be their clients.

17.06.2025 21:08 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I don't have much experience in SeaORM yet, so I was thinking that ChatGPT could save me some time. I wasted more than half of the hour on copy-pasting some code from chat and copy-pasting errors. After that experience, I searched the documentation and solved the problem in 5 minutes. ๐Ÿคทโ€โ™‚๏ธ

13.06.2025 15:40 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I tried to use ChatGPT today to help me solve one problem. It misled me totally. The problem was that I had to make a query in SeaORM with a few left joins, for which I had to use aliases. And I wanted to select one field from each of these aliased tables.

13.06.2025 15:40 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
GitHub - microsoft/edit: We all edit. We all edit. Contribute to microsoft/edit development by creating an account on GitHub.

For a moment, I thought that it is about an original edit ๐Ÿคฃ Modern, Rust-based version github.com/microsoft/edit

19.05.2025 17:23 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Many happy Rustaceans at the release party.

Many happy Rustaceans at the release party.

Live from the 10 Years of Rust celebration in Utrecht, Netherlands, we are very happy to announce a new version of Rust, 1.87.0!

See the blog post and release notes for all the details!

blog.rust-lang.org/2025/05/15/R...

15.05.2025 17:30 โ€” ๐Ÿ‘ 190    ๐Ÿ” 41    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 4
Rust Changelogs 1.87.0 # Released on: 15 May, 2025 Branched from master on: 28 March, 2025 Language # Stabilize asm_goto feature Allow parsing open beginning ranges (..EXPR) after unary operators !, ~, -, and *}. Don...

If everything goes according to plan Rust 1.87.0 will be released today. releases.rs/docs/1.87.0/ Only a few larger features. But what I'm really excited about are API stabilizations. Rust is getting more mature with every release. At a fast pace around 4000 commits/release.

15.05.2025 09:15 โ€” ๐Ÿ‘ 4    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Preview
Release Dioxus v0.7.0-alpha.0 ยท DioxusLabs/dioxus NoteThese release notes are a draft for the full release and thus are incomplete. Not all features might be merged yet! We are releasing v0.7.0-alpha.0 with many docs and features incomplete, pleas...

github.com/DioxusLabs/d...

14.05.2025 09:23 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
[ANNOUNCE] AUTOSEL: Modern AI-powered Linux Kernel Stable Backport Classifier [LWN.net]

The new version of the AI-based tool for suggesting Linux kernel patches for backporting to a stable version is of course written in the most popular language for writing modern tools ๐Ÿคฃ lwn.net/ml/all/aBj_S...

06.05.2025 16:36 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

While googling for the best tools to debug memory leaks in Rust I've found an opinion that a garbage collector solves the problem of leaking memory. Partly yes. But believe me, I'm able to create a well-designed memory leak that GC will not be able to prevent.

06.05.2025 14:14 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

It looks like we may have a memory leak. Typst crates or integration are suspects in my investigation. I've been using Rust professionally since the beginning of 2021, and I never had to track down a memory leak before. It will be a lot of fun ๐Ÿคฃ

06.05.2025 08:50 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

If AI says that I've been using Rust since 2008, it must be true ๐Ÿคฃ

19.04.2025 09:19 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thank you for this interesting thread ๐Ÿ˜€

17.04.2025 14:26 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

It's amazing how well uv integrates with nushell. I have not expected that.

17.04.2025 13:01 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

For example, adding elements to a vector in an infinite loop may be seen as a memory leak. Especially if you don't need most of these elements later... ๐Ÿคฃ

Unless a memory leak happens in kernel space, it's relatively safe ๐Ÿคทโ€โ™‚๏ธ

16.04.2025 21:17 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Box in std::boxed - Rust A pointer type that uniquely owns a heap allocation of type `T`.

There is some ongoing discussion about memory safety and memory leaks.

Some people suggest that it's just about preventing the use of doc.rust-lang.org/std/boxed/st...

Well, it's not that simple. Memory leaks are situational. It may be hard to judge what is and what is not a memory leak.

16.04.2025 21:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1

I've been using Rust nightly for the past 2 weeks for running tests in the project. rust-lld is great. I can't wait to see it in the stable version.

16.04.2025 09:46 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@practicalrs is following 20 prominent accounts