A problem with multi-core processors is that software needs to be written in a way that can take advantage of multiple cores, and software is still trailing hardware in this area. One of Intel's projects that aims to tackle this is River Trail, this piece of software is designed to allow JavaScript code to exploit the parallelism of modern processors.
A native implementation of River Trail has been developed in cooperation with Mozilla for the Firefox browser. Eventually, the technology will be added to the Firefox browser, and Intel hopes it will be picked up by other browser makers as well.
To demonstrate its commitment to HTML5, James announced that Intel has worked with Firefox creator Mozilla to produce a native implementation of the River Trail project. Originally developed at Intel Labs, River Trail is designed to provide data-parallelism for web applications. The result is JavaScript code that runs significantly faster on modern multi-core processors. For both Intel and Mozilla such technology is a major win: Mozilla gets an early lead in high-performance JavaScript, while Intel finds a way to convince those who just use a web browser that a quad-core - or higher - processor is a sound investment after all.
Initially available as a prototype extension, the River Trail technology will eventually be added to Firefox browsers natively - and, should it prove as successful as Intel hopes, will likely be snapped up by other browser makers. That's good news for everyone: when even smartphones are beginning to standardise on dual-core processors, sequential single-threaded code is the biggest bottleneck of all. By taking JavaScript, possibly the most popular web scripting language around, and allowing developers to quickly exploit the parallel processing capabilities of modern hardware, Intel and Mozilla are narrowing the gap between browser-based and native applications.