JavaScript:Home Page: Difference between revisions

Switch to spidermonkey out-dated
(Switch to spidermonkey out-dated)
 
(46 intermediate revisions by 18 users not shown)
Line 1: Line 1:
JavaScript language and implementation plans go here.  For background, see:
{{OutdatedSpiderMonkey}}


* JS items in [http://weblogs.mozillazine.org/roadmap/ Brendan's roadmap blog].
The primary project page for SpiderMonkey has moved to ''[[JavaScript|JavaScript]]''.
* The [http://www.mozilla.org/js/language Mozilla JS language] page.
 
* The [http://www.ecmascript-lang.org/ ECMAScript (ES) language] site.
== Tracked Projects  ==
* [http://developer.mozilla.org/en/docs/JavaScript JS pages] at the [http://developer.mozilla.org Mozilla Developer Center (MDC)].
 
* [http://developer.mozilla.org/en/docs/Rhino Rhino documentation at MDC]. Rhino is an implementation of JavaScript in Java.
We have [[JavaScript:SpiderMonkey:LongTermPlans|long-term inchoate plans]] for how SpiderMonkey will technically evolve. Historically these plans have been "tribal" knowledge, communicated during the design process of other patches, or during reviews. Now we're trying to actually document them.  Documentation of these plans says nothing about the schedule for when these changes will happen.  It could be sooner, it could be later.  It will depend on the particular plan, its invasiveness, whether it is a natural step (or slight tangent) in the fixing of some other issue of importance, and so on.
 
We also track a variety of (typically) shorter-term projects.  These projects are likely to be fixed sooner than the rather-vaguer plans referenced above.  They typically have a project plan with milestones, tasks, and owners.
 
*[[Javascript:SpiderMonkey:ProjectGenerationGarbageCollection|Generational Garbage Collection]]: General Garbage Collection project plan and milestone.
*[[Javascript:SpiderMonkey:OdinMonkey|OdinMonkey]] (asm.js compiler): OdinMonkey project plan and milestone.
*[[Javascript:SpiderMonkey:PropertyElementStorage|Property Element Storage]]: Property and Element Storage project plan and milestone.
*[[Javascript:SpiderMonkey:Debugging|Debugging]]: Debugging JavaScript, in web content (both desktop and mobile) and in chrome (add-ons and Firefox itself)
*[[Javascript:SpiderMonkey:StackSnapshots|Stack Snapshots]]: Lightweight records of where errors occurred, where event handlers were registered, and so on.
*[[Javascript:SpiderMonkey:HeapProfiling|Heap Profiling]]: Integrated tools for tracking memory use, finding leaks, and so on.
*[[Javascript:SpiderMonkey:StartupCache|Start-up Cache]]: Improve start-up time JavaScript for Gaia applications.
*[[Web Browser Grand Prix]]: Optimize for Tom's Hardware Guide's "Web Browser Grand Prix" (WBGP) benchmarks.
 
== Active Projects  ==


== New Projects ==
*[[Javascript:SpiderMonkey:ExactStackRooting|Exact Stack Rooting]]: Conservative rooting has a number of well known downsides.
*[http://bugzilla.mozilla.org/show_bug.cgi?id=608741 Type Inference]: perform hybrid dynamic/static analysis of JavaScript code to provide better type/invariant information to the JIT compiler
*[[Javascript:SpiderMonkey:BaselineCompiler|Baseline Compiler]]: New Baseline JIT to replace Interpreter+JM.
*[[IonMonkey|IonMonkey]]: upgrade current JIT compiler with classic SSA-based compiler techniques to allow better optimization of JIT code
*[[JS engine modularization]]: incremental long-term project to modularize JS engine source code.


* [[JavaScript:TraceMonkey|TraceMonkey]], the addition of native-code compilation to SpiderMonkey
*[[Javascript:SpiderMonkey:2013Projects|2013 Projects]]: Projects for the year 2013
* [[Tamarin]], the new virtual machine for [http://www.adobe.com/devnet/actionscript/ ActionScript] that's already in Flash.
* A [[JavaScript:SpiderMonkey:Parser API|new SpiderMonkey API]] for building and inspecting parse trees.
* Make mostly-dense arrays [https://bugzilla.mozilla.org/show_bug.cgi?id=322889 blazingly fast].
* [[JavaScript:SpiderMonkey:RegExp API|Expose ECMA 262 Regular Expression API]] to C/C++ clients.
* [[JavaScript:JS3 Requirements|JS3 Requirements]], or what lies beyond [http://developer.mozilla.org/es4/ JS2/ES4].


== Older Projects/Ideas ==
== Retired Projects ==


* Narcissus ([http://lxr.mozilla.org/mozilla/source/js/narcissus source code]).
*[[JavaScript:SpiderMonkey:RegExp API|Expose ECMA 262 Regular Expression API]] to C/C++ clients.
* [[JavaScript:SpiderMonkey:Context Threading|Context-thread]] the SpiderMonkey interpreter.
*A [[JavaScript:SpiderMonkey:Parser API|new SpiderMonkey API]] for building and inspecting parse trees.
*Narcissus meta-circular JavaScript interpreter ([https://github.com/mozilla/narcissus source code]).
*[[JavaScript:TraceMonkey|TraceMonkey]], the addition of native-code compilation to SpiderMonkey
*[[JaegerMonkey|JägerMonkey]], a new baseline JIT compiler for SpiderMonkey
*[[Tamarin]], the new virtual machine for [http://www.adobe.com/devnet/actionscript/ ActionScript] that's already in Flash.  
*[[JavaScript:SpiderMonkey:Context Threading|Context-thread]] the SpiderMonkey interpreter.
*Make mostly-dense arrays [https://bugzilla.mozilla.org/show_bug.cgi?id=322889 blazingly fast]. Latest bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=486356 type-specialized Arrays].
* [http://developer.mozilla.org/en/docs/Rhino Rhino documentation at MDC]. Rhino is an implementation of JavaScript in Java.


== Coding Style Guidelines ==
== Benchmarks ==


* [[JavaScript:SpiderMonkey:C++_Coding_Style|SpiderMonkey C++ guidelines]]
* [[Benchmark Intro]]
* [[JavaScript:SpiderMonkey:Coding_Style|SpiderMonkey older C guidelines]]
* [[Sunspider Info]]
* How to write [[JavaScript:SpiderMonkey:JS_Tests|unit tests]] for use by jsDriver.pl.
* [[V8bench Info]]
* [[Kraken Info]]


== References ==
== References ==
* [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Language_Resources ECMAScript language specifications]
* "[http://www.cs.kent.ac.uk/people/staff/rej/gcbook/gcbook.html Garbage Collection: algorithms for automatic dynamic memory management]", by Richard Jones, is a comprehensive reference book about different garbage collection algorithms.
* "[http://www.cs.kent.ac.uk/people/staff/rej/gcbook/gcbook.html Garbage Collection: algorithms for automatic dynamic memory management]", by Richard Jones, is a comprehensive reference book about different garbage collection algorithms.
* Also Richard Jones's webpage has a collection of [http://www.cs.kent.ac.uk/people/staff/rej/gc.html references].
* Also Richard Jones's webpage has a collection of [http://www.cs.kent.ac.uk/people/staff/rej/gc.html references].
* Several conferences where most memory management papers go: [http://portal.acm.org/browse_dl.cfm?linked=1&part=series&idx=SERIES858&coll=portal&dl=ACM&CFID=43281450&CFTOKEN=59448574 ISMM], [http://portal.acm.org/browse_dl.cfm?linked=1&part=series&idx=SERIES363&coll=portal&dl=ACM&CFID=43281450&CFTOKEN=59448574 PLDI], [http://portal.acm.org/browse_dl.cfm?linked=1&part=series&idx=SERIES318&coll=portal&dl=ACM&CFID=43281450&CFTOKEN=59448574 OOPSLA], [http://portal.acm.org/browse_dl.cfm?linked=1&part=series&idx=SERIES11259&coll=portal&dl=ACM&CFID=43281450&CFTOKEN=59448574, VEE].
* Several conferences where most memory management papers go: [http://portal.acm.org/browse_dl.cfm?linked=1&part=series&idx=SERIES858&coll=portal&dl=ACM&CFID=43281450&CFTOKEN=59448574 ISMM], [http://portal.acm.org/browse_dl.cfm?linked=1&part=series&idx=SERIES363&coll=portal&dl=ACM&CFID=43281450&CFTOKEN=59448574 PLDI], [http://portal.acm.org/browse_dl.cfm?linked=1&part=series&idx=SERIES318&coll=portal&dl=ACM&CFID=43281450&CFTOKEN=59448574 OOPSLA], [http://portal.acm.org/browse_dl.cfm?linked=1&part=series&idx=SERIES11259&coll=portal&dl=ACM&CFID=43281450&CFTOKEN=59448574, VEE].
* [[JavaScript:Bug Triage Tags|Bug Triage Tags]]
52

edits