News for hackers. Stuff that matters.

uowlfinder

Re:SQLite should have (Rust-style) editions on Thursday July 16, 2026 @10:33AM (#48935158)
Reading between the lines, it is as if you consider there to be large problems with Rust editions, but you do not wish to make Rust, Rust editions, nor the programming language concept of editions, look bad.

Does upgrading a large project require intimate knowledge of that project in the worst case? How much work is it in the worst case?

How do Rust editions and macros interact? Does definition of macros or usage of macros make upgrading a Rust edition harder? If yes, how much harder in the worst case?

Re:SQLite should have (Rust-style) editions on Thursday July 16, 2026 @06:55AM (#48932824)
Are there any drawbacks to Rust editions?

Does it make the compiler and other tools larger and more complex for each new edition?

Are the migration tools always fully automatic, quick to execute, and flawless? Is any manual work, or expertise, required for upgrading in the worst case?

If I read a blog about Rust, and the blog forgot to mention which edition it uses for its code examples, can that cause any problems? Should I just skip the blog if it is old?

If I see an interesting repository that I would like to learn from, but it was written in an old edition that I do not want to learn the rules for, will I have to upgrade the codebase myself before learning from it, or should I just skip it?

Are there any Rust projects that stay in an old edition for whatever reasons? How large a proportion of Rust projects that are still downloaded and used, are not on edition 2024? As an example, why are these popular projects still on Rust edition 2021?

https://github.com/bitflags/bitflags

https://github.com/rust-lang/libc

https://github.com/dtolnay/thiserror

How much work is it to upgrade someone else's codebase to a newer edition? Does upgrading a large project require intimate knowledge of that project in the worst case?

How do Rust editions and macros interact? Does definition of macros or usage of macros make upgrading a Rust edition harder? If yes, how much harder in the worst case? Is upgrading always automatic?