TE
테크에코
홈24시간 인기최신베스트질문쇼채용
GitHubTwitter
홈

테크에코

Next.js로 구축된 기술 뉴스 플랫폼으로 글로벌 기술 뉴스와 토론을 제공합니다.

GitHubTwitter

홈

홈최신베스트질문쇼채용

리소스

HackerNews API원본 HackerNewsNext.js

© 2025 테크에코. 모든 권리 보유.

ZJIT has been merged into Ruby

48 포인트작성자: tekknolagi1일 전

3 comments

sabslikesobs1일 전
I don&#x27;t know anything about compliers, so this note about reasons and intentions from the presentation link was helpful to me:<p>&gt; YJIT can make Ruby code run faster, but this is a balancing act, because the JIT compiler itself must consume both memory and CPU cycles to compile and optimize your code while it is running. Furthermore, in large-scale production environments such as those of GitHub, Shopify and Stripe, we end up in a situation where YJIT is compiling the same code over and over again on a very large number of servers, which seems very inefficient.<p>&gt; In this presentation, we will go over the design of ZJIT, a next generation Ruby JIT which aims to save and reuse compiled code between executions. We hope that this will help us eliminate duplicated work while also allowing the compiler to spend more time optimizing code so that we can get better performance.<p>Seems pretty cool. I haven&#x27;t run into any these limitations in my own usage really, but I&#x27;m working at very small scales.
评论 #43990213 未加载
pjmlp1일 전
Quite curious how it will evolve, yet another JIT to track as compiler geek.<p>Plus points for having all code generation flags in the standard implementation, instead of requiring a debug build like on V8, or an additional plugin like on most JVMs.
burnt-resistor약 22시간 전
Possibly a Crystal killer in the near future.
评论 #43993542 未加载