Re: proper tail calls

2008-01-18 Thread Brendan Eich
On Jan 18, 2008, at 9:36 PM, Peter Michaux wrote: Will proper tail calls be implicit in ES4 or will there be a need for special syntax? I hope it is just a required optimization but then I read this ticket http://bugs.ecmascript.org/ticket/323 and it seems there is a suggestion that the spec w

proper tail calls

2008-01-18 Thread Peter Michaux
Will proper tail calls be implicit in ES4 or will there be a need for special syntax? I hope it is just a required optimization but then I read this ticket http://bugs.ecmascript.org/ticket/323 and it seems there is a suggestion that the spec will only require proper tail calls with a "goto" stat