Re:C++ Modules Might Be Dead-On-Arrival
by AnIdiotOnTheNet on Monday January 28, 2019 @08:13AM
(#19017153)
Which, incidentally, is how Zig does it:
[ Parent
| on HN ]
And rust
`extern crate foo`
`extern crate "foo-bar" as foo_bar`
This is all legal identifiers but
`use std::path::Path;`
`use std::path::Path as int; // For maximum confusion`
And not that anyone uses this part but:
`mod bazz;`
`#[path = "bazz-bar.rs"] mod bazz_bar;`