Sharing a JavaScript implementation across realms

Anne van Kesteren annevk at
Wed Jan 14 00:08:23 PST 2015

On Wed, Jan 14, 2015 at 1:28 AM, Brendan Eich <brendan at> wrote:
> Before we go tl;dr on this topic, how about some data to back up the
> asserted problem size? Filip gently raised the question. How much memory
> does a realm cost in top open source engines? Fair question, empirical and
> (I think) not hard to answer. Burdened malloc/GC heap full cost, not net
> estimate from source analysis, would be best. Cc'ing Nick, who may already
> know. Thanks,

Well, I heard that for e.g. B2G we moved from JavaScript workers to
C++ threads due to memory constraints. It might well be that this is a
solvable problem in JavaScript engines with sufficient research, it's
just at the moment (and in the past) it's been blocking us from doing
certain things.


More information about the es-discuss mailing list