Standardizing out-of-memory and stack-depth-exceeded errors?
brendan at mozilla.com
Tue Mar 22 09:46:29 PDT 2011
On Mar 22, 2011, at 9:07 AM, Joshua Bell wrote:
> Formally describing the behavior of these runtime boundaries may be outside the scope of ECMA-262,
It's also extremely hard to do well and fairly across all JS host environments (tiny devices up to beefy servers).
Compiler writers will have to cope. Harmony includes proper tail calls now, so that will help.
This is the list for discussion about ECMAScript language design and implementation (where strongly coupled to design) issues, so it's a fair topic.
My two cents: I don't think we'll be standardizing anything here for a long while, if ever. It's up to implementors, depending on device capabilities and competition, to do their best.
More information about the es-discuss