TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Land ahoy: leaving the Sea of Nodes

20 点作者 Leszek大约 2 个月前

2 条评论

ErikCorry大约 2 个月前
As a former member of the V8 team I found this very interesting. (I was pre-Sea-of-Nodes and mostly not working on the compiler.)<p>Key quotes:<p><i>most instructions end up being on the effect or control chain, which imposes a strict order on the operations, and completely defeats the purpose of Sea of Nodes.</i><p>and<p><i>It’s hard to estimate the exact impact of this cache unfriendliness on memory. Still, now that we have our new CFG compiler, we can compare the number of cache misses between the two: Sea of Nodes suffers on average from about 3 times more L1 dcache misses compared to our new CFG IR, and up to 7 times more in some phases. We estimate that this costs up to 5% of compile time, although this number is a bit handwavy. Still, keep in mind that in a JIT compiler, compiling fast is essential.</i><p>I&#x27;d love to hear how the new optimizing compiler (Turboshaft) differs from the old one (Crankshaft). It&#x27;s true that nobody managed to make Crankshaft work with try-catch, which was a huge gap in its coverage.
评论 #43481215 未加载
ErikCorry大约 2 个月前
Comment on this from Cliff Click <a href="https:&#x2F;&#x2F;github.com&#x2F;SeaOfNodes&#x2F;Simple&#x2F;blob&#x2F;main&#x2F;ASimpleReply.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;SeaOfNodes&#x2F;Simple&#x2F;blob&#x2F;main&#x2F;ASimpleReply....</a>