News for hackers. Stuff that matters.
Re:C++ Modules Might Be Dead-On-Arrival by afiori on Monday January 28, 2019 @05:26AM (#19016385)
> 1. The filename characters have to be valid D identifier characters. This annoys some people.

this could be solved by allowing strings in qualified imports

  import "illegal identifier"."some more weird unicode" as someLib;
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;`