logoalt Hacker News

voxic11 • yesterday at 6:59 PM • 1 reply • view on HN

might a compiler turn "float x = 3.1;" into no instructions at all in some situations? So it has at least 2 possible translations into assembly depending on the context.


Replies

gonzalohm • yesterday at 7:25 PM

And "code a to-do app" has infinite possible compilations. That's exactly my point. If C instructions already have multiple compilations that could end up in bugs, why make it even more complex? After all programming is not that complicated, are we really getting enough benefits by going up in the abstraction layer?