Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dajonker
on Dec 29, 2024
|
parent
|
context
|
favorite
| on:
Fish 4.0: The Fish of Theseus
I might be wrong but most optimizing compilers will treat "if false" and the following code as dead and remove it.
Filligree
on Dec 29, 2024
[–]
It will remove it, but not until after resolving symbols. If the branch-never-taken references a missing library then this will still error, which is the problem for a feature flag.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: