External Publication
Visit Post

Is interning as a general primitive something that should be in the standard library?

Rust Internals [Unofficial] May 2, 2026
Source
Thank you, Mr. steffahn and Mr. zackw. I'm sorry to put together my answer. * First, I placed "proposal for addition to the standard library" as my conclusion, hoping it would provide a smooth interpretation of why I was seeking agreement in this forum. However, this created unnecessary tension by conflicting with Rust's design philosophy of avoiding increased complexity in the standard library. I sincerely apologize for that, and I am genuinely grateful to those who took the time to reply. * Regarding the content and focus of the discussion: the English words I used in my proposal, including "intern (to place inside)," deviate from their narrow meanings in the software field, which I think made the post difficult to follow. It might have been better had my original post started from: "Since any system exists to serve human intent, it must always derive an equivalence concept autonomously from within, rather than relying on the user to define it externally. The most practical means for a computer to do this is a combination of three concepts: binary values, equivalence, and ordering." But, no, perhaps not much would have changed, since that framing still depends on the reader resolving it internally. * The suggestion that users.rust-lang org would be a more appropriate venue is also advice I appreciate. I intend to prepare a publicly available system as a concrete basis for discussion before posting there. * Overall, I was unaware that each of my design decisions is tightly coupled to structural insights about the real world, making them impossible to present piecemeal. Thank you again for your responses. Andyou

Discussion in the ATmosphere

Loading comments...