v8
How do you expose a C++ class in the V8 Javascript Engine so it can be created using new?
The official examples of exposing a Point class seem to assume that there will be a fixed number of instances of it in your program. It is not clear how new instances are allocated in the C++ code, wh[详细]
2023-01-04 02:06 分类:问答Executing JavaScript without a browser?
I am looking into Javascript programming without a browser. I want to run scripts from the Linux or Mac OS X command line, much like we run any other scripting language (ruby, php, perl, python...)[详细]
2023-01-02 05:02 分类:问答Where Do I Download TraceMonkey?
I can get the Spidermonkey javascr开发者_如何学Pythonipt engine from here: http://www.mozilla.org/js/spidermonkey/[详细]
2023-01-01 21:48 分类:问答Javascript Getting Objects to Fallback to One Another
Here\'s a ugly bit of Javascript it would be nice to find a workaround. Javascript has no classes, and that is a good thing. But it implements fallback between objects in a rather ugly way. The found[详细]
2022-12-30 00:24 分类:问答How to use V8's built in functions
I\'m new in both javascript and V8. According to Google\'s Embedder\'s Guide, I saw something in the context section talking about built-in utility javascript functions. And I also found some开发者_JA[详细]
2022-12-22 13:22 分类:问答Javascript regex hangs (using v8)
Im using this regex to get the contents of a tag in a file. var regex = new RegExp(\"<tag:main>((?:.|\\\\s)*)</tag:main>\");[详细]
2022-12-22 03:38 分类:问答Javascript Engines Advantages
I am confused about JavaScript engines right now. I know that V8 was a big deal because it compiled JavaScript to native code.[详细]
2022-12-18 06:29 分类:问答What is Node.js? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2022-12-13 22:26 分类:问答How do I escape a string for a shell command in node?
In nodejs, the only way to execute external commands is via sys.exec(cmd). I\'d like to call an external command and give it data via stdin. In nodejs there does yet not appear to be a way to open a c[详细]
2022-12-11 23:58 分类:问答
加载中,请稍侯......