The inconceivable types of Rust: How to make self-borrows safe (2024)
Mood
thoughtful
Sentiment
positive
Category
tech
Key topics
Rust programming language
memory safety
self-borrows
The article discusses a potential solution to making self-borrows safe in Rust, a long-standing challenge in the language.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
2d
Peak period
1
Day 2
Avg / period
1
Based on 1 loaded comments
Key moments
- 01Story posted
11/15/2025, 11:31:39 PM
3d ago
Step 01 - 02First comment
11/17/2025, 4:34:23 PM
2d after posting
Step 02 - 03Peak activity
1 comments in Day 2
Hottest window of the conversation
Step 03 - 04Latest activity
11/17/2025, 4:34:23 PM
1d ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
But as I investigate Rust, I learn of trivial use cases that cannot be safely represented [0] in Rust's syntax. TFA demonstrates even more provably-safe techniques that are impossible to express safely in Rust. So after all the difficulty of learning Rust, I might still have to choose between performance and safety?
My impression is that Rust 1.91.0 simply isn't a suitable C replacement for many real world use cases. But since it's already being used in production, I worry that backwards compatibility concerns will prevent these issues from being fixed properly, or at all.
Perhaps rust2 will get this right. Until then there's C.
[0]: https://databento.com/blog/why-we-didnt-rewrite-our-feed-han...
20 more comments available on Hacker News
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.