I want to understand your beefs before really responding...

On Thu, Apr 21, 2016 at 4:05 PM, Shu-yu Guo <[email protected]> wrote:

> The first is ergonomic. I want phased workloads like parsing + BCE and JIT
> compiling to be completely infallible.
>

What do you mean by "infallible" here? To me it seems like virtually every
Parser method is inherently fallible because of SyntaxErrors.

The allocation pattern of compilers is a series of many small allocations.
> I'd like to just allocate a huge buffer inside a LifoAlloc-like allocator
> in the beginning and call it a day.
>

OK, but what should we do when the huge buffer runs out during parsing?

-j
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to