The question has partial answers here and here which seem to implicitly imply that javascript and python result in 'infinite recursion'.
Background
Lately I've been dabbling in tail recursion which to my current understanding is that the programming style (*generally) holds the benefit of performance of an equivalent iterative solution with the benefit of readability -essentially making it the best of both worlds.
Examples
I've noticed that if one were to do this in .NET or Java:
while(true) {...}
Eventually Windows brings up a dialog box that allows the machine user to alter such said executable's state:
The question
Since tail recursion (*practically) doesn't have to deal with the stackoverflow exception here, am I incorrect to assume that Java or C# would either:
- Trigger the "Foo.exe not responding" dialog
- Result in infinite recursion
Additionally, I am correct in assuming that this runtime 'exception' would be handled by the language's interpreter?