Qt Is Likely To Use The V8 JavaScript Engine

Posted by Michael Larabel on September 06, 2011

It looks like with Qt 5.0, V8 will become the JavaScript Engine for the Qt tool-kit as well as for Qt Script and Qt Quick.

Currently Qt uses JavaScriptCore as its engine, but Qt developers are looking to have a common JavaScript engine for Qt WebKit, Qt Script and QML. This would allow mixing QML and WebKit in the same application using a single JavaScript environment, use HTML5 web application APIs in QML, use the Qt Script API to extend WebKit's JavaScript support, and less memory usage due to a single, shared JavaScript engine.

It looks like Qt developers are settling to use V8, the JavaScript Engine developed by Google for their Chrome/Chromium web-browser. It was back in February when I mentioned Nokia was looking to use Google V8 as its JavaScript Engine.

There is this bug report to track the Qt JavaScript Engine. There is already a proof-of-concept Qt with V8. Benchmark results have also showed to be very promising.

Qt 5.0 is scheduled to be released next year. Besides a new JavaScript Engine, it will have better support for the Wayland Display Server and other fundamental changes.

Prost to Mark for pointing out this new Qt JavaScript information.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite