c++ - Embedding javascript into an application (like Lua) -
i lot of web-related work javascript (some mundane web app stuff, bleeding-edge software renderer/webgl stuff), , have game-related projects code in c++.
i have intended c++ bits use lua accomplish dynamic scripting functionality, starting wonder if may serve me somehow embed javascript engine codebase minimize amount of context-switching do, because going make me cringe if time comes find myself needing port lua code js or port js code lua.
the v8 javascript engine embeddable , desktop c++ application , that'd end of monkey wrench in situation here problem of never being able v8 submission ios app store.
this leads me down quite different path. wonder whether possible use javascriptcore
replace use lua for.
just side note old question: apple has made javascriptcore public api in ios 7 used dynamic scripting or other application logic.
Comments
Post a Comment