You cannot post messages because only members can post, and you are not currently a member.
Description:
The official discussion group for users of the Google V8 JavaScript engine.
|
|
|
Java wrapper
|
| |
FYI, to all those who have asked before, I just posted a proof of concept on the SWIG issue at [link]. My plans are to implement JSR-223 (like Rhino, but obviously better), implement and bind HTML 4 (I know, fairly daunting) via [link]... more »
|
|
include equivalent?
|
| |
I want to create an include function in my embedded app using V8. Currently I'm using eval(get_file_contents('./js/f unctions.js')); to sorta do the same thing, but is there a better way? I tried to make a function, and it worked fine, but the script executed in the new scope of the function. Is there a way to maybe execute a script under... more »
|
|
informative D8 compilation errors messages?
|
| |
Hi, When trying to compile a JS source file, the D8 error messages that I get by default are obtuse: $ d8 comb.js Uncaught: "SyntaxError: Unexpected identifier" (empty stack) Can I get something more informative like the following (from SpiderMonkey): $ smjs comb.js comb.js:2: SyntaxError: missing ) after condition:... more »
|
|
custom snapshot
|
| |
I am trying to create a snapshot that contains a custom environment and restore it in another program. The following code will segfault when I create a new context in readsnapshot.cpp. What is the proper way to create a snapshot that contains a custom predefined environment? mksnapshot.cpp ------------------------... more »
|
|
lots of contexts with the same JS code - reduce memory usage
|
| |
I am experimenting with having a lot of different contexts(1000+) running in a single process multi threaded application which share the same javascript codebase. Every time a new context is created, I currently run the compiled javascript source code in the scope of the new context. Depending on the size of the source code, the memory usage of a single... more »
|
|
Api Docs?
|
| |
I just posted in the NodeJS mailing list, but I think the question is more relevant here. Is there anywhere that has posted the ECMAScript 5 features already implemented in V8. For example, I noticed the 2.0.4 release added Object.create. In the past I noticed things like all the Array.prototype methods implemented and even crazy things like... more »
|
|
|