What does 'inline' mean?

Stanislav Blinov stanislav.blinov at gmail.com
Wed Jun 10 19:04:34 UTC 2020


On Wednesday, 10 June 2020 at 01:48:20 UTC, Walter Bright wrote:
> On 6/9/2020 4:31 PM, Manu wrote:
>> Redundant work,
>
> It isn't redundant work to do it in the linker. It is redundant 
> to do half of the linker's job in the compiler, throw away the 
> other half of it, and re-do it in the linker.

It is redundant to do the job in the compiler, throw *that* away 
and then shrug it off with "meh, the linker will take care of 
it". Which is precisely what compilers are doing. Which is 
precisely what you suggested to be doing in the issue report.
...And of course, the linker doesn't take care of it, which is 
why LTO came to be - to solve a problem that doesn't need to 
exist.

And DMD does not need a built-in linker.


More information about the Digitalmars-d mailing list