Re:Zig – Type Resolution Redesign and Language Changes
by 9rx on Wednesday March 11, 2026 @12:36PM
(#47337810)
Yes, of course you can call objc_msgSend or equivalent in Rust just as you can in C. But you are pushing the object-oriented model into a library. It is not native to the language.
[ Parent
| on HN ]
Re:Zig – Type Resolution Redesign and Language Changes
by pjmlp on Wednesday March 11, 2026 @03:37PM
(#47340200)
I am talking about Rust OOP language features for polymorphism, dynamic and static dispatch, encapsulation, interfaces.
Which allowed me to port 1:1 the Raytracing Weekend tutorial from the original OOP design in C++ to Rust.
Also the OOP model used by COM and WinRT ABIs, that Microsoft makes heavy use of in their Rust integration across various Windows and Office components.