What's the current state of the art for module compilation?
David Given
dg at cowlark.com
Tue Nov 24 11:20:04 UTC 2026
On Tuesday, 24 November 2026 at 03:52:36 UTC, Walter Bright wrote:
[...]
> Linkers that support templates are a giant kludge. D is
> designed to not need that.
Trying to get back on topic:
- I was told that using generated .di files with certain
constructs (templates, auto return, something annotation-based
which I forget) doesn't work and produces .di files which will in
turn cause miscompilation and runtime crashes. Can anyone confirm
or deny that?
If that _is_ true, would it be possible to have a feature which
causes a hard error when the .di file is generated, if these
constructs are used?
More information about the Digitalmars-d
mailing list