Is Google Chrome's V8 engine really that good?
Did anyone have time to take a look at it? I've read a bit and it promises a lot, if it's half what they say, it'll change web programming a lot ...
Did anyone have time to take a look at it? I've read a bit and it promises a lot, if it's half what they say, it'll change web programming a lot ...
V8's documentation explains how to create a Javascript object that wraps a C++ object. The Javascript object holds on to a pointer to a C++ object instance. My question is, let's say you create the C++ object on the heap, how can you get a notification when the Javascript object is collected by the gc, so you can free the heap allocated ...
Does anybody know how I can see the actual machine code that v8 generates from Javascript? I've gotten as far as Script::Compile() in src/api.cc but I can't figure out where to go from there. ...
Since the speed of the top Javascript engines seems to be on par, the next criteria is footprint. What are the code and data footprints of the leading javascript engines? ...
The build instructions of V8 JavaScript Engine mention only Visual Studio 2005 and 2008. Has anybody been successful with MinGW on Windows XP/Vista? ...
I'm building a .NET 3.5 application and have the need to evaluate JS code on the server - basically a user provided rule set that can work within a browser or on the server. Managed JS is not an option, because the JS code would be provided at runtime. Aptana's Jaxer is also not an option. So I was looking into using a build of the V8 en...
There's a lot of capital C, capital S computer science going into Javascript via the Tracemonkey, Squirrelfish, and V8 projects. Do any of these projects (or others) address the performance of DOM operations, or are they purely Javascript computation related? ...
Has anyone been able to do this? ...
The error I'm getting: error C2664: 'v8::FunctionTemplate::New' : cannot convert parameter 1 from 'v8::Handle<T> (__cdecl *)(const v8::Arguments &)' to 'v8::InvocationCallback' Relevant definitions: typedef Handle<Value> (*InvocationCallback)(const Arguments& args); template<class C> class V8ScriptClass { public: template<cla...
How do you include another script file inside a .js script file in v8? There's the <script> tag in HTML but how can it be done inside a v8 embedded program? ...
I know that google's v8 compiles javascript into native machine (binary if I understand correctly) code. Is there a way to take the output and turn it into a exe? ...
I am writing a server application that is able to manipulate the DOM before it is served to the client. I am using C++ and Google's v8 as a javascript engine but I don't see any DOM API in v8. Is there an open source implementation for doing DOM manipulation on HTML? If not how would you implement one? ...
Hello, I would like to run some tests on v8 with and without JIT to compare performances. I know JIT will improve my average speed performance, but it would be nice for me to have some actual more detailed tests results as I want to work with mobile platforms. I haven't found how to enable or disable JIT like it exists on Squirrelfish ...
I'm programming a JavaScript application which accesses some C++ code over Google's V8. Everything works fine, but I couldn't figure out how I can throw a JavaScript exception which can be catched in the JavaScript code from the C++ method. For example, if I have a function in C++ like ... using namespace std; using namespace v8; ... ...
With the release of the Closure compiler, I was hoping to see if there was a difference in memory usage between a js file using the compiler and one which had not. In particular, on a mobile platform like Palm's WebOS, the very limited amount of memory available means that every little bit will help. EDIT: I should point out that d8 i...
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 command and then push data to it (only to exec and receive its standard+error outputs), so it appears the only way I've got to do this right ...
I want to run a Javascript console on top of V8. How do I do this? ...
In Nodejs, there are virtually no blocking I/O operations. This means that almost all nodejs IO code involves many callbacks. This applies to reading and writing to/from databases, files, processes, etc. A typical example of this is the following: var useFile = function(filename,callback){ posix.stat(filename).addCallback(function (...
I don't fully get what node.js is all about. Maybe it's because I am mainly a web based business app developer. Can someone please explain what it is and the use of it? Thanks. My understanding so far is that: The programming model is event driven, especially the way it handles IO. It uses javascript and the parser is V8. It can be ea...
I’ve run into a very strange (to me) problem with the var keyword. I’ve reduced it to a fairly minimal test case, and found it’s exhibited in Node.js (thus, V8 and Chrome), Safari 4’s inspector (thus, Nitro), and FireBug (obviously, SpiderMonkey). I was originally preparing a bug report, but since it’s so widely displayed, I’m going to a...