|
|
|
|
|
by pjmlp
121 days ago
|
|
It worked alright for Rust, and yes Rust does support OOP, there are many meanings to what is OOP from CS point of view. I have ported Ray Tracing in One Weekend into Rust, while keeping the same OOP design from the tutorial, and affine types were not an impediment to interfaces, polymorphism and dynamic dispatch. |
|
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.