logoalt Hacker News

ibobevyesterday at 4:42 PM2 repliesview on HN

> An infinite loop should compile to an infinite loop.

I think that a compiler option should control this. It can be a nice optimization, but the programmer should be able to opt out.


Replies

WalterBrightyesterday at 10:15 PM

Every flag that changes the semantics of the code bifurcates the language into two languages.

show 1 reply
Xirdusyesterday at 9:31 PM

The programmer can opt out by terminating the loop.