Any discussion of "compact" subset for mobile devices?
mob at mbedthis.com
Fri Mar 21 00:07:31 PDT 2008
On Mar 21, 2008, at 12:00 AM, ToolmakerSteve98 wrote:
>> Why do you believe static typing is necessary for performance? Just
> Good question. I have a vague impression that the cache size
> required to
> achieve performance when dynamic typing is significantly larger than
> statically typed code. That is, it either cost performance or
> memory, and
> the memory cost became unacceptable. But my thinking developed at a
> when we didn't have so many MBs to throw around. Maybe in an era of
> streaming video, it has become less of an issue.
Static typing does allow the compile phase to do early binding more
so save lookups. Accesses via an untyped object must do this at the
execution whereas if the object is statically typed, this can be
If doing pre-compile - this happens at the development phase.
We see a good reduction in byte code size and in execution time if
using typed object
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
More information about the Es4-discuss