Conversation

Rust isn't ready! What needs to change: * MS makes native rust winapi bindings. For kernel too! * MS supports DDK + rustc together * Rust adds anonymous unions and structures * Disabling unwinding w/ no_std needs to be easier (i.e. actually work) * Stack usage limit flags!!
Quote Tweet
Speaking of languages, it's time to halt starting any new projects in C/C++ and use Rust for those scenarios where a non-GC language is required. For the sake of security and reliability. the industry should declare those languages as deprecated.
3
27
Replying to
What would be the point of (anonymous) unions? Rust already has enums that fulfill the same purpose but better. For interop, just make a function that returns an enum of the right reference type encased in a rust enum.
Replying to
This gives a few good reasons: internals.rust-lang.org/t/pre-rfc-anon w/o anonymous union/structs modeling existing classes that mix these together requires each struct/union to be a new definition. It's annoyingly more complex than needed to model this type of memory layout, even with unsafe
1