Re:MapSCII – Braille and ASCII map renderer for the console
by sedachv on Wednesday May 03, 2017 @04:00PM
(#14259466)
Benchmarks or GTFO. Tracing JITs are hard to implement, use up a lot of memory, and cannot efficiently implement many kinds of control flow[1]. AFAIK TraceMonkey was the only JavaScript tracing JIT and it was not that great.[2]
[1] https://news.ycombinator.com/item?id=13774326 [2] https://en.wikipedia.org/wiki/SpiderMonkey
Re:MapSCII – Braille and ASCII map renderer for the console
by monocasa on Thursday May 04, 2017 @10:51AM
(#14265220)
> Modern JavaScript VMs like V8 will often optimise functions treating types as static, then "deoptimise" in the rare case their type assumptions are broken.
And that logic that's needed to test invariants is exactly the overhead we're talking about.
Modern JavaScript VMs like V8 will often optimise functions treating types as static, then "deoptimise" in the rare case their type assumptions are broken.