6 ms·
V8 Maglev: compiler design doc
- taosx 3y agoThank you to everyone involved in this. I'm wondering, is Node.js fiddling with v8 in order to focus more on the resulting code performance than the initial startup. Planning to learn C/C++ in order to investigate that and if there any gains there.
- pawelmurias 3y agoI would guess node.js apps can load a ton of code so the startup can be important too.
- golergka 3y agoWhat's a 30 seconds of startup for an app that will stay up for a few hours until the next deploy?
- YoniFeng 3y agoMore downtime upon deployment (or spreading deployment over longer period). For serverless with cold starts, direct translation to $. The whole motivation for tiered JITing is to attempt a balance that gets the best of both worlds; fast startup, optimized hot code (over time).
- frankjr 3y agoUnfortunately many CLI tools are written in JS as well (looking at you wrangler).
- sagarm 3y agoSounds like a joy to test
- pjmlp 3y agoLots of money when talking about serverless.
- fulafel 3y agoHere's a recent post about shipping and results: https://blog.chromium.org/2023/06/how-chrome-achieved-high-scores-on.html https://blog.chromium.org/2023/06/how-chrome-achieved-high-s... Would be interesting to hear where they ended up with the parallelism that was mentioned in passing.
- tambourine_man 3y agoThis seems similar to Safari’s JSCore 4 tiers architecture. Imagine keeping execution smooth while switching between all those tiers. Modern JS engines are fascinating beasts.
- mkoubaa 3y agoBoy am I glad that huge internet companies are willing to fund these sorts of large engineering projects in the open
- simonebrunozzi 3y agoWhy pick a name - maglev - that will confuse everyone, forever?
- xt00 3y agoYay a new part of chromium with a new name made by different people (probably) than the original v8 people. Seems like Google has an affliction of “not invented by me”. Just read the first sentence if you are thinking I’m being a bit harsh: “We’ve previously made a case why four tiers in V8(Google internal) make sense to explain why Sparkplug made sense in addition to Ignition, TurboProp and TurboFan. TurboProp was a midtier compiler proposal based on TurboFan to significantly improve compilation speed while compromising on the performance of the resulting code. With Sparkplug in place, however, the design tradeoffs TurboProp made by being built on top of TurboFan didn’t end up panning out. ”
- umami12 3y ago[flagged]