News for hackers. Stuff that matters.
Re:Nine Ways to Do Inheritance in Rust, a Language Without I... by iTokio on Saturday June 06, 2026 @06:30AM (#48423484)
I did have a look at bevy ECS approach and find it very verbose and really foreign, it’s in « not rust anymore» territory. Macros are a dangerous tool in terms of long term maintainability and are hurting compilation times.

But it’s still really fresh, they are conscious of the issues and I hope bevy maintainers came up with an elegant design

Re:Nine Ways to Do Inheritance in Rust, a Language Without I... by Animats on Saturday June 06, 2026 @06:52AM (#48423614)
Right. Bevy has its own run time allocation and dependency system, and it's <<not rust anymore>>. It bypasses Rust's compile time ownership system using unsafe code. The encapsulation may be safe due to run time checking. It's bothersome that such things seem to be needed.
Re:Nine Ways to Do Inheritance in Rust, a Language Without I... by amelius on Saturday June 06, 2026 @08:41AM (#48424501)
> It's bothersome that such things seem to be needed.

Yes. Rust is not a general purpose language. It's a systems language. Don't use it for GUIs and games and such until somebody has figured out how to do it properly.

Re:Nine Ways to Do Inheritance in Rust, a Language Without I... by usrnm on Saturday June 06, 2026 @09:27AM (#48424889)
All systems languages before Rust (granted, it's not a very long list) were successfully used for GUIs, games, embedded stuff and much more
Re:Nine Ways to Do Inheritance in Rust, a Language Without I... by LoganDark on Saturday June 06, 2026 @07:07PM (#48429971)
You can't figure something out this complex without FAFO. Bevy is one flavor of FAFO. It seems to be working out alright so far.