Language Size (was Re: [TLUG]: ECMAScript ("Javascript") Version 4 -FALSE ALARM)

Maciej Stachowiak mjs at
Wed Oct 31 04:45:20 PDT 2007

On Oct 31, 2007, at 4:28 AM, Yehuda Katz wrote:

> ---------- Forwarded message ----------
> From: Yehuda Katz <wycats at>
> Date: Oct 31, 2007 3:58 AM
> Subject: Re: Language Size (was Re: [TLUG]: ECMAScript  
> ("Javascript") Version 4 -FALSE ALARM)
> To: Lars Hansen <lhansen at>
> A massive chunk of these are the duplicate methods in the intrinsic  
> namespace. If you remove those, you actually have very few new  
> classes or methods (see below). Another big chunk is getters and  
> setters that represent old ES3 methods pre-getters and setters.
> Specifically, removing the duplicate intrinsic methods (but not  
> removing replacing getters/setters, etc.), there are 256 new items  
> on this list, vs. 276 old methods. Hardly "bloated".

That doesn't exactly match my count, but close enough. For ES4 I  
removed all duplicate intrinsic:: names (not sure what these are for  
but I'll trust that they are not interestingly different), one of the  
two String classes, and meta::invoke. For ES3 I did not count [[Call]]  
internal properties or the like. I get:

ES3: 220
ES4: 437

Seems to be about the same ~2x increase that you report, though we  
used different methodologies to count. I would not count this as  
excessive growth, when it comes to the standard library.


-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Es4-discuss mailing list