Confirmed users
328
edits
(→Communication (in descending order of information content): component watch) |
(→Coding Style: virtual functions are ok for random stuff, which isn't in the JS heap) |
||
Line 196: | Line 196: | ||
=== Coding Style === | === Coding Style === | ||
For many years, SpiderMonkey was written in C, and is gradually moving to C++. We still avoid many features such as run-time type information and virtual functions, but have come around to the glory of templates and namespaces relatively recently. Read the [[JavaScript:SpiderMonkey:C++ Coding Style|Coding Style]]. Do NOT read the portability guidelines, which I will not link to, since they are very out of date. | For many years, SpiderMonkey was written in C, and is gradually moving to C++. We still avoid many features such as run-time type information and exceptions, and generally avoid virtual functions for core data, but have come around to the glory of templates and namespaces relatively recently. Read the [[JavaScript:SpiderMonkey:C++ Coding Style|Coding Style]]. Do NOT read the portability guidelines, which I will not link to, since they are very out of date. | ||
=== Workflow === | === Workflow === |