You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct. Go does not do tail call optimization. It has been discussed in the past. It would hide stack frames useful in debugging. One early proposal was to make it explicit and make users call tail called functions with a keyword like "become". Somebody else in a different language once proposed "goto" as the keyword.
http://play.golang.org/p/CPSqcLkE5K
This wouldn't crash if gc had tail call optimisation.
The text was updated successfully, but these errors were encountered: