Hi list,
Today, I started a MDN page[1] about some tips I used to hack on the JS
engine so far. Hacking on the JS engine is a complex task, as nobody knows
everything about the engine. Knowing where to instrument, what to search and
which tools are available to dig deeper is needed.
This page contains 2 parts, how to debug, and how to hack. Knowing how to
set breakpoint, and what are common patterns is extremely valuable when you
are lost under gdb. Knowing how to experiment with the engine is
interesting to evaluate optimizations and to reduce the time needed to
prototype simple ideas.
I will keep adding more stuff in this page, but feel free to contribute with
your own tips to make this page a good collection of tips for developers,
embedders and new comers.
[1] https://developer.mozilla.org/en-US/docs/SpiderMonkey/Hacking_Tips
Have fun ;)
--
Nicolas B. Pierron
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals