2 ms·
There actually was a fork of node.js that used SpiderMonkey. IMHO, one of Mozilla's greatest failures was its decision to more or less give up on embedding (fo
by jcranmer 10y ago
There actually was a fork of node.js that used SpiderMonkey.
IMHO, one of Mozilla's greatest failures was its decision to more or less give up on embedding (for both SpiderMonkey and Gecko). They effectively killed off embedding in the process of moving to the train model back in 2011, 2012, but back then, the expectation was that they would have their 2 years of "let's kill our broken architecture." Instead, it sort of ended up dragging on how long it would take them to stabilize some APIs for embedding, and they certainly never bothered to try to maintain any documentation (I briefly attempted to maintain some client application that used SpiderMonkey in 2011, and it was a headache trying to find any sort of documentation on how to fix each incremental bustage, since everything that was found on MDN was woefully out of date).
First, there was to be some sort of IPC-based embedding mechanism in Gecko. Then that idea was nixed in favor of just XULRunner. Then Mozilla decided it didn't want to maintain XULRunner anymore. For a period of time, they had a XULRunner-like setup called something like webapprt (which was basically a Firefox sans normal Firefox UI), but that too was killed off within a few years.