News for hackers. Stuff that matters.
Re:D Programming Language by torginus on Friday February 13, 2026 @02:42AM (#47000025)
I don't think it worked well for Rust - in fact one of the core issues of Rust imo, is that it somewhat encourages this OOP style which can cause major headaches when you design an app in a traditional OO way - object compostion, complex and stateful, non-copyable objects full of 'smart' behavior, necessitating clones, and state that needs to be reconciled.

The whole concept of OOP is a major conceptual regression in how it treats aliasing, which is a major headache for compiler writers, necessitating either whole program analysis or JIT like techniques.

Re:D Programming Language by pjmlp on Friday February 13, 2026 @03:05AM (#47000184)
Hardly any different from structs with function pointers that are so praised among C and Zig devs.