proper tail calls still out of es4?

# Peter Michaux (17 years ago)

I'm just curious if there has been any discussion about adding proper tail calls back into es4 or if it is definitely out for good.

Thanks, Peter

# Brendan Eich (17 years ago)

On Jul 6, 2008, at 3:14 PM, Peter Michaux wrote:

Hi,

I'm just curious if there has been any discussion about adding proper tail calls back into es4 or if it is definitely out for good.

Background links:

proposals:proper_tail_calls, discussion:proper_tail_calls, bugs.ecmascript.org/ticket/215, bugs.ecmascript.org/ticket/323

Since we aren't done and we are implementing before standardizing,
it's impossible to say "for good", but our work is easier as spec- writiers, and implementors of prototype specs have it easier too, if
there are fewer requirements operating on the syntactic analysis and
runtime semantics.

My belief is that if proper tail calls are to make a come-back, it
will be through implementors leading the way. As discussed in the
linked documents cited above, support by popular implementations on
the web would tend to force a de-facto standard. This might not be
evident by the time ES4 is standardized, but it could be folded into
a successor standard.

# Peter Michaux (17 years ago)

Thanks for the reply...

On Sun, Jul 6, 2008 at 3:52 PM, Brendan Eich <brendan at mozilla.org> wrote:

My belief is that if proper tail calls are to make a come-back, it will be through implementors leading the way. As discussed in the linked documents cited above, support by popular implementations on the web would tend to force a de-facto standard. This might not be evident by the time ES4 is standardized, but it could be folded into a successor standard.

How could one go about campaigning for Spidermonkey to lead the way by including proper tail calls?

Peter