Uncalled functions in hello world
Basile B.
b2.temp at gmx.com
Wed Apr 8 17:24:24 UTC 2020
On Wednesday, 8 April 2020 at 13:57:47 UTC, Stefan Koch wrote:
> The current phobos hello world
> import std.stdio;
> void main() { "Hello World".writeln; }
> generates a list of 36 functions which are generated and
> emitted but not called, and therefore presumably only used at
> compile time
>
> Those are:
>
> [...]
Now that I read those 36 calls carefully it really looks like
there's among them some used when writeln!string fails and
throws, e.g when decoding the argument.
More information about the Digitalmars-d
mailing list