News for hackers. Stuff that matters.
Re:Ownership and Borrowing in D by EvenThisAcronym on Tuesday July 16, 2019 @03:50PM (#20453277)
> This is different from being able to walk a directory and read random files.

D doesn't allow you to do that either. You have to specify what files you are importing via a compiler switch: https://dlang.org/spec/expression.html#import_expressions

Re:Ownership and Borrowing in D by WalterBright on Tuesday July 16, 2019 @04:31PM (#20453591)
Yes. That's another barrier I put in to prevent a carefully crafted source code from being a malware vector.