Language Size (was Re: [TLUG]: ECMAScript ("Javascript") Version4 -FALSE ALARM)
Brendan Eich
brendan at mozilla.org
Wed Oct 31 09:18:54 PDT 2007
On Oct 31, 2007, at 5:42 AM, Lars Hansen wrote:
> The intrinsic names are for early binding. Since the prototypes
> are mutable nothing is known about their properties. So code that
> wishes to early-bind to methods would annotate its variables and
> open the intrinsic namespace to give preference to intrinsic
> methods over prototype methods. The benefits are performance,
> known semantics, and static type checking (in strict mode).
>
> And you are right, they are not interestingly different: they have
> type annotations. (Usually, the prototype method calls the
> intrinsic method after performing type conversions mandated by
> ES3. There are a few wrinkles here and there but nothing important.)
I changed the subject so it may have been missed, but most of what I
wrote at
https://mail.mozilla.org/pipermail/es4-discuss/2007-October/001415.html
which built on Graydon's message at
https://mail.mozilla.org/pipermail/es4-discuss/2007-October/001408.html
was about intrinsic. Hope it helps,
/be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20071031/79c028bb/attachment-0002.html
More information about the Es4-discuss
mailing list