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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Check Widening in LLVM

57 点作者 sanjoy_das将近 9 年前

4 条评论

chrisseaton将近 9 年前
If you know Ruby more than you know LLVM and want to see a practical example, I gave a talk about the same idea in the context of Ruby <a href="http:&#x2F;&#x2F;chrisseaton.com&#x2F;rubytruffle&#x2F;deoptimizing&#x2F;" rel="nofollow">http:&#x2F;&#x2F;chrisseaton.com&#x2F;rubytruffle&#x2F;deoptimizing&#x2F;</a>
drfuchs将近 9 年前
Why &quot;discard the current runtime frame, and resume execution in the interpreter&quot; rather than jump into a compiled but unoptimized version of the function?
评论 #12110956 未加载
mattiemass将近 9 年前
Fascinating stuff! Reminds me very much of swift&#x27;s guard statement.
评论 #12111494 未加载
tedunangst将近 9 年前
&gt; Now if arr.length is 1 then we’ll deoptimize to the interpreter with false as the value of 0 u&lt; arr.length<p>How so? Why does the test change?
评论 #12110613 未加载