News for hackers. Stuff that matters.
Re:Deadcode: Finding unreachable functions in Go by fransje26 on Tuesday January 23, 2024 @02:41PM (#39108609)
Do you happen to know languages that implement that? I vaguely remember remember some Zig post on the topic, but I don't remember if it was an idea exploration, or an implemented feature.
Re:Deadcode: Finding unreachable functions in Go by marcosdumay on Tuesday January 23, 2024 @02:42PM (#39108627)
I can't name any language that was born with it.

Most have it on the standard tools, but I don't think any language was born with it.

Re:Deadcode: Finding unreachable functions in Go by rootext on Tuesday January 23, 2024 @02:45PM (#39108677)
Dart compiler does it, as I know.