On Tuesday, 25 October 2022 at 12:29:50 UTC, Andrey Zherikov
wrote:
On Sunday, 23 October 2022 at 20:12:46 UTC, Hipreme wrote:
This will greatly reduce the number of import and dependencies
you need if you ever need to distribute a library.
Could you elaborate more on the benefit? Does it redu
On Sunday, 23 October 2022 at 20:12:46 UTC, Hipreme wrote:
This will greatly reduce the number of import and dependencies
you need if you ever need to distribute a library.
Could you elaborate more on the benefit? Does it reduce
compilation time for dependency? If so then how much?
On Monday, 24 October 2022 at 12:10:19 UTC, Nick Treleaven wrote:
On Sunday, 23 October 2022 at 20:12:46 UTC, Hipreme wrote:
For reducing a D Interface file dependency when generating it
with the `-H` flag for DMD, you can't import a module on the
top level.
Take a look at that example:
This
On Sunday, 23 October 2022 at 20:12:46 UTC, Hipreme wrote:
For reducing a D Interface file dependency when generating it
with the `-H` flag for DMD, you can't import a module on the
top level.
Take a look at that example:
This would make a nice blog post if you have one ;-)
For reducing a D Interface file dependency when generating it
with the `-H` flag for DMD, you can't import a module on the top
level.
Take a look at that example:
```d
module a;
import std.stdio;
void printSomething(string a)
{
writeln(a);
}
```
If you generate the .di interface file while u