Re:Introducing .NET IL Linker
by openasocket on Wednesday August 30, 2017 @07:10PM
(#15136894)
The answer is in the quote "The linker removes code in your application and dependent libraries...". That doesn't include the Common Language Runtime.
You're probably going to need those things in a real app.
I'm not saying that. From the page itself: "The linker removes code in your application and dependent libraries that are[sic] not reached by any code paths. It is effectively an application-specific dead code analysis"
Going by that description, Hello World should be the most trivial of test cases for removing unneeded cruft, and yet it still leaves plenty behind.
Also, don't assume that everyone has 16GB of RAM (I have a tiny fraction of that), or that even if they do, your app should be using all of it.