跟踪树的Javascript性能改进是否会进入其他解释语言?

时间:2020-12-23 20:46:37

It sounds like Mozilla is having good luck improving JavaScript performance with TraceMonkey. See also Andreas Gal's paper on Trace Trees.

听起来Mozilla使用TraceMonkey可以很好地改善JavaScript性能。另见Andreas Gal关于跟踪树的论文。

Are these improvements available to other interpreters/compilers and if so, does this mean we'll see a cascade of improvements in other interpreted languages?

这些改进是否可用于其他口译员/编制者?如果是这样,这是否意味着我们会看到其他解释语言的一系列改进?

2 个解决方案

#1


7  

There's a research JVM by Andreas Gal called HotPath, and some people from his team are currently working on adding nested trace tree based JITting to Maxine (Sun's new research JVM written in Java) and HotSpot. So, at least it is showing up in other VMs for other languages as well.

Andreas Gal有一个名为HotPath的研究JVM,他的团队中的一些人正在努力将基于嵌套跟踪树的JITting添加到Maxine(Sun用Java编写的新研究JVM)和HotSpot。所以,至少它也出现在其他VM的其他语言中。

Also, the new PyPy JIT compiler (currently being prototyped in Prolog) uses some kind of tracing technique, although I don't know how closely related that is to Gal/Franz style nested trace trees.

此外,新的PyPy JIT编译器(目前在Prolog中进行原型设计)使用了某种跟踪技术,尽管我不知道与Gal / Franz样式的嵌套跟踪树有多密切相关。

The Rubinius guys are definitely aware of this work, and very open to experimentation. I wouldn't be surprised, if some advanced compilation techniques start showing up there, soon.

Rubinius的家伙肯定知道这项工作,并且对实验非常开放。如果一些高级编译技术很快就会出现在那里,我不会感到惊讶。

BTW: there is a Ruby VM written in JavaScript, called HotRuby. If you run that on TraceMonkey, you get trace tree based Ruby for free :-)

BTW:有一个用JavaScript编写的Ruby VM,名为HotRuby。如果你在TraceMonkey上运行它,你可以免费获得基于跟踪树的Ruby :-)

#2


0  

The only possible answer to this is: Hopefully!

唯一可能的答案是:希望!

#1


7  

There's a research JVM by Andreas Gal called HotPath, and some people from his team are currently working on adding nested trace tree based JITting to Maxine (Sun's new research JVM written in Java) and HotSpot. So, at least it is showing up in other VMs for other languages as well.

Andreas Gal有一个名为HotPath的研究JVM,他的团队中的一些人正在努力将基于嵌套跟踪树的JITting添加到Maxine(Sun用Java编写的新研究JVM)和HotSpot。所以,至少它也出现在其他VM的其他语言中。

Also, the new PyPy JIT compiler (currently being prototyped in Prolog) uses some kind of tracing technique, although I don't know how closely related that is to Gal/Franz style nested trace trees.

此外,新的PyPy JIT编译器(目前在Prolog中进行原型设计)使用了某种跟踪技术,尽管我不知道与Gal / Franz样式的嵌套跟踪树有多密切相关。

The Rubinius guys are definitely aware of this work, and very open to experimentation. I wouldn't be surprised, if some advanced compilation techniques start showing up there, soon.

Rubinius的家伙肯定知道这项工作,并且对实验非常开放。如果一些高级编译技术很快就会出现在那里,我不会感到惊讶。

BTW: there is a Ruby VM written in JavaScript, called HotRuby. If you run that on TraceMonkey, you get trace tree based Ruby for free :-)

BTW:有一个用JavaScript编写的Ruby VM,名为HotRuby。如果你在TraceMonkey上运行它,你可以免费获得基于跟踪树的Ruby :-)

#2


0  

The only possible answer to this is: Hopefully!

唯一可能的答案是:希望!