Hacker News new | ask | show | jobs
by bradfitz 2892 days ago
The Go linker does dead code elimination already.
1 comments

Dead code elimination can happen in many places. In Go, for instance, an obvious one would be to eliminate most type info for types which will never be queried for introspection.

No linker will ever do that.