TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Type-Based Optimizations in the JIT

137 pointsby seanclaytonabout 3 years ago

3 comments

spinningslateabout 3 years ago
The performance work in Erlang at the moment is really exciting. It&#x27;s easy to get sniffy about it and say the JVM&#x2F;CLR&#x2F;whatever has has JITing for years. True. But then performance has never been the Erlang standout: that would be concurrency and robustness.<p>The JIT is bringing BEAM languages up the rankings on performance. It may have a way to go to get to JVM level, and might not ever get there. But it&#x27;s on a really encouraging trajectory.<p>And none of that compromises the concurrency and robustness story, where it still stands at the forefront of production-quality capability with a single, well-designed approach that&#x27;s well-implemented and impressively scalable.<p>The care that has gone into Erlang&#x27;s evolution (including the BEAM VM) is nicely illustrated by this para in the blog:<p>&gt; The embedded type information is versioned so that we can continue to improve the type-based optimizations in every OTP release. The loader will ignore versions it does not recognize so that the module can still be loaded without the type-based optimizations.<p>I&#x27;m not claiming that&#x27;s unique among VMs (don&#x27;t know, probably not) but it does nicely illustrate diligence on the part of the core team.<p>With Elixir adding some sparkle as an alternative BEAM language, it&#x27;s a great time to be part of the Erlang community. Chapeau to the core team and community.
评论 #31173139 未加载
moelfabout 3 years ago
every other week there&#x27;s a post about JIT, LLVM, etc. (either like this or more commonly in Python where people show it improving 5x or whatever)<p>whenever I see it, it makes me feel like Julia-lang really did a good job picking the approach and technology all the way back in 2010
评论 #31174592 未加载
alberthabout 3 years ago
Did WhatsApp&#x2F;FB ever release their static type tool?<p>All the FB blog posts from 2020 I find are broken links now.
评论 #31178066 未加载
评论 #31176317 未加载