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.

RPython-Based VMs: Fast Enough in Fast Enough Time

93 pointsby pcr910303about 4 years ago

4 comments

ciupicriabout 4 years ago
> February 8 2012, last updated February 7 2013
评论 #26949877 未加载
gandalfgeekabout 4 years ago
Graal and Truffle also let one do something like this: write an interpreter for a language and get an optimizing JIT compiler for “free”.
jxyabout 4 years ago
If you want to look at the JIT overhead, for the benchmark stone and Richards, multiply the first number by ten and subtract the second number. And you can do it in your head, CPython is the fastest if you only going to launch the interpreter and run the program once.<p>The sorting benchmark is more interesting. One could estimate where the breakeven point is, if considering the sorting scaling to be exactly n*log(n). Though the timings could be considerably different once everything fits in L2 or L1 cache.
augusto-mouraabout 4 years ago
Today a big contender for a VM to rule them all is WebAssembly, even though the primary motivation at the start was a web language, the design of the intermediate language (.wasm) is explendid, it hits the sweet spot of a LISP language with static types and low level coding
评论 #26946418 未加载
评论 #26952334 未加载