Comment

Comment by looperhacks

> The compiler still cannot tell when our loops will terminate (yes, this is possible).

Isn't this just the halting problem? Sure, for simple cases compiler could do it (in Java I guess my IDE will do it since the compiler doesn't care), but in the general case, how would a compiler figure this out?

parent looperhacks 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton