开发者

Where Do I Download TraceMonkey?

I can get the Spidermonkey javascr开发者_如何学Pythonipt engine from here:

http://www.mozilla.org/js/spidermonkey/

And, I know that Tracemonkey is the newer version released after SpiderMonkey but I cannot find the download link for it in Mozilla? Is it released for public use? Should I stick back to SpiderMonkey or switch to Google's V8 altogether - if TraceMonkey is not available for public download?


TraceMonkey is a patch set that has been applied to SpiderMonkey when you get the latest version of SpiderMonkey you get TraceMonkey. See http://ejohn.org/blog/tracemonkey/


TraceMonkey is part of FireFox version 3.1 and above. you still have to know how to enable it to take advantage. Here's how it works:

  1. Open about:config in your browser.
  2. Paste javascript.options.jit.content into the filter.
  3. Double-click the remaining preference to set the boolean to true.

EDIT

Maybe this is what you are looking for:

http://hg.mozilla.org/tracemonkey


I know you want it for embedding, but for those who just want to use Tracemonkey/Spidermonkey, a nice way is to install Firefox and the Prism add-on which allows you to turn a web page (or URL) into an application. Not quite the same as Microsoft's .HTA files, but if you can write your app inside a web page this will work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜