Module system strawpersons
brendan at mozilla.com
Mon Jan 18 18:05:24 PST 2010
On Jan 18, 2010, at 5:52 PM, ihab.awad at gmail.com wrote:
> On Mon, Jan 18, 2010 at 5:43 PM, Oliver Hunt <oliver at apple.com> wrote:
>> It's also horrific in the context of a browser as it's effectively
>> an arbitrary
>> length call blocked on IO.
> That's a good description of what I was proposing. Yes it would block
> the event loop. Perhaps it could be useful if (say) the module were
> available in a local disk cache but not loaded into memory: the cost
> of I/O to a disk cache may be reasonable, but not the cost of a
> completely new fetch from the network.
Even disk can be painfully slow-ish, and what if there's a cache miss?
More information about the es-discuss