News for hackers. Stuff that matters.
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:

  const thing = @import("relative/path/to/thing.zig");
  const package = @import("packagename");
Re:C++ Modules Might Be Dead-On-Arrival by gpm on Monday January 28, 2019 @10:41AM (#19018265)
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;`