River Trail brings parallel programming features to JavaScript

Source: Internet
Author: User

Intel announced an open-source project, River Trail, to expand the JavaScript parallel programming feature.

The browser no longer only executes lightweight tasks, but applications with high computing workload must still be executed in the native mode because native applications have performance advantages. For example, it can take full advantage of parallel processing capabilities of multi-core processors. JavaScript, a general language for Web development, does not allow applications to access multiple cores. It is time to keep JavaScript up with the times. River Trail is a parallel programming extension of JavaScript, allowing Web applications to utilize the multi-core cores of the processor and vector extension commands. Intel developers said their goal is to make parallel JavaScript programming as simple as writing common JavaScript programs. Its Demo shows that 4000 objects are physically simulated using WebGL. The speed of the serial version is only 3fps, and the parallel version can reach 45fps.

Intel also introduced that River Trail can be seamlessly connected to existing technologies and can work together with APIs of other HTML5 new technologies. The above WebGL Demo is a good example, shows the good compatibility of River Trail. Currently, River Trail still exists as a Firefox browser extension. It is unclear whether it will attract the attention of other manufacturers and introduce it to their respective Javascript Engines, such as V8. In addition, in the comments in the original article, Intel also explained the differences between River Trail and Web Workers, and welcomed all developers to join this open-source project.

The following is an introduction video of this project. At the end of the video, you can see the WebGL Demo mentioned in this article.

Http://developers.solidot.org/article.pl? Sid = 11/09/20/0116210 & amp; from = rss

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.