Post #2176856
2026-05-07 07:24 UTC
@hjvt@hachyderm.io @nyx@lgbtqia.space @shana@mastodon.gamedev.place Great, now I am nerdsniped into pondering when a compiler can justifiably terminate what is by spec an inftinite loop into an analytical result.
Replies (1)
-
@hjvt@hachyderm.io 2026-05-07 07:37
@chrysn@chaos.social @nyx@lgbtqia.space @shana@mastodon.gamedev.place damn, that's an interesting thought. IIRC, it would actually be permissible for a C++ compiler to do this, since infinite loops without side-effects are UB by spec.