News for hackers. Stuff that matters.
Re:Firefox’s Fight for the Future of the Web by KonkeyDong69 on Sunday November 17, 2019 @07:34AM (#21557668)
In addition to what the other replies said, feel free to eyeball the code required to embed SpiderMonkey in Firefox at https://github.com/mozilla/gecko-dev/tree/master/dom/binding.... It's rather large and complex.
Re:Firefox’s Fight for the Future of the Web by padenot on Sunday November 17, 2019 @09:48AM (#21558090)
This is not at all the code to embed SpiderMonkey in Firefox, those are the bindings from DOM APIs to the implementation of those APIs in Firefox. Above that, calling into this layer, is another layer that transforms JS calls into C++ calls (roughly).

The interface between SpiderMonkey and the rest of Firefox is here: https://searchfox.org/mozilla-central/source/js/src/jsapi.h.