top | item 36458723 (no title) W4RH4WK55 | 2 years ago I wonder when support for modules lands so we can see that the design doesn't work out and deprecate them.Sorry if I am too salty here, but really, it's more of a joke at this point, isn't it? discuss order hn newest pjmlp|2 years ago Visual C++ dataflow|2 years ago What's wrong with their design? w4rh4wk5|2 years ago For instance, last time I checked them out (in MSVC) it was perfectly fine to expose an un-exported type via an exported function. Apparently this is by design.In Rust, such a thing is an error.https://play.rust-lang.org/?version=stable&mode=debug&editio... 112233|2 years ago https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p13... load replies (1)
dataflow|2 years ago What's wrong with their design? w4rh4wk5|2 years ago For instance, last time I checked them out (in MSVC) it was perfectly fine to expose an un-exported type via an exported function. Apparently this is by design.In Rust, such a thing is an error.https://play.rust-lang.org/?version=stable&mode=debug&editio... 112233|2 years ago https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p13... load replies (1)
w4rh4wk5|2 years ago For instance, last time I checked them out (in MSVC) it was perfectly fine to expose an un-exported type via an exported function. Apparently this is by design.In Rust, such a thing is an error.https://play.rust-lang.org/?version=stable&mode=debug&editio...
pjmlp|2 years ago
dataflow|2 years ago
w4rh4wk5|2 years ago
In Rust, such a thing is an error.
https://play.rust-lang.org/?version=stable&mode=debug&editio...
112233|2 years ago