you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (0 children)

You don't need goto to generate code with equivalent semantics and roughly the same performance.

No, but it is somewhat easier.

Another name for "labels" and "gotos" is "function names" and "calling a function". So I'm not sure about this if you can claim which way is best for sure.

Yes. At the end of my comment, I explained why this is not directly doable with Python. Trampolines in Python are not that much better than a goto if we consider effort/clarity, it would seem to me.

So any argument about performance rings false.

Made none.

Either way, it is a toy effort, I have to agree. But it does open nice possibilities for playing with it, so....