3 ms·
This is a common usage of the term. See the JVM linker for example, which performs similar tasks. A linker historically took multiple machine code files and pr
by chrisseaton 8y ago
This is a common usage of the term. See the JVM linker for example, which performs similar tasks.
A linker historically took multiple machine code files and produced an executable, possibly arranging it in a certain way following some directives, and checking connectivity.
The .NET is a virtual machine, so this applies that same concept on top of that abstraction, taking intermediate representation files for that virtual machine and producing more intermediate representation, possibly re-arranged. Removing unused parts is a kind of re-arranging and checking connectivity.
You could perhaps call it a 'tree-shaker' if you wanted, but the name 'linker' isn't any kind of ignorance or pretence.