2 ms·
What's the point of this, exactly? You get Javascript interpreters that Erlang can talk to. Is the point simply to have a more widely known language as the 's
by davidw 17y ago
What's the point of this, exactly? You get Javascript interpreters that Erlang can talk to. Is the point simply to have a more widely known language as the 'scripting language' for the system? Because otherwise it would just make more sense to not bother, or perhaps even to use something like node.js directly and cut out the Erlang middle-man. But I admittedly know little about the situation, so perhaps someone can shed more light on it.
- davisp 17y agoThe reason we use an embedded scripting environment is so that the control can be handled by Erlang. Its quite true that we could have an external system doing Map/Reduce a la CouchDB-Lucene but that would just increase the pain point, plus make things even harder to move between systems due to configuration overhead etc. Though the point of this post was mostly to play with the new erlang_js package as well as try and determine what cost is associated with the stdio communication channel used by the current view generation model.