Firefox versus Chrome; C++ versus JavaScript ... pouring salt on the browser war

Subject: General Tech | September 19, 2011 - 01:34 PM |
Tagged: native client, NaCl, javascript, firefox, chrome, c++, browser

The Browser War is about to heat up again as Google Chrome's native client is released at the same time that Intel is releasing updates to JavaScript to allow for parallel processing

Chrome's salty poke at browsers is to introduce a way to run C and C++ in a protected sandbox to allow a secure way to run the code on the web, similar to how Java and JavaScript are currently dealt with.  Using the segment registers on your CPU as a protected space Chrome will now accept and run C and C++ programs, hopefully creating a space in which code can run but not effect your system without your knowledge ... aka the drive-by attack familiar to Flash users.  This will give non-Java programmers the chance to program for the web in a way they have never done before as well as letting those who do not want to program in Java/JavaScript an alternative programming language.  It will take some time before we start to see anyone take advantage of this, let alone whether it will be able to compete with the current solutions already used on the web.

For the JavaScript fan there is good news coming out of the IDF, as Intel has been showing off River Trail and WebGL.  They have finally enabled JavaScript to take advantage of multi-core processors, the demonstration they provided had an eight core machine running a JavaScript app about 15 times faster than it performed with the non-updated code.  Even more interesting is what they plan to do with that performance increase; HTML5, Canvas, and WebGL are all compatible and can benefit from the true performance of multi-core processors.

Catch more on both of these stories and their history at The Register.

internet-browser-757734.jpg

"Google has officially launched Native Client – a means of securely running C and C++ code inside a browser – as part of a new stable version of its Chrome browser that activates this rather controversial sandboxing technology.

Mountain View turned on Native Client, aka NaCl, in the Chrome beta last month, and on Friday, it debuted in the new Chrome 14, a stable release that also includes Google's new Web Audio API."

Here is some more Tech News from around the web:

Tech Talk

Source: The Register

AFDS11: Microsoft Announces C++ AMP, Competitor to OpenCL

Subject: Editorial, General Tech, Shows and Expos | June 15, 2011 - 05:58 PM |
Tagged: programming, microsoft, fusion, c++, amp, AFDS

During this morning's keynote at the AMD Fusion Developer Summit, Microsoft's Herb Sutter went on stage to discuss the problems and solutions involved around programming and developing for multi-processing systems and heterogeneous computing systems in particular.  While the problems are definitely something we have discussed before at PC Perspective, the new solution that was showcased was significant.

014.jpg

C++ AMP (accelerated massive parallelism) was announced as a new extension to Visual Studio and the C++ programming language to help developers take advantage of the highly parallel and heterogeneous computing environments of today and the future.  The new programming model uses C++ syntax and will be available in the next version of Visual Studio with "bits of it coming later this year."  Sorry, no hard release date was given when probed.

Perhaps just as significant is the fact that Microsoft announced the C++ AMP standard would be an open specification and they are going to allow other compilers to integrated support for it.  Unlike C# then, C++ AMP has a chance to be a new dominant standard in the programming world as the need for parallel computing expands.  While OpenCL was the only option for developers that promised to allow easy utilization of ALL computing power in a computing device, C++ AMP gives users another option with the full weight of Microsoft behind it.

016.jpg

To demonstrate the capability of C++ AMP Microsoft showed a rigid body simulation program that ran on multiple computers and devices from a single executable file and was able to scale in performance from 3 GLOPS on the x86 cores of Llano to 650 GFLOPS on the combined APU power and to 830 GFLOPS with a pair of discrete Radeon HD 5800 GPUs.  The same executable file was run on an AMD E-series APU powered tablet and ran at 16 GFLOPS with 16,000 particles.  This is the promise of heterogeneous programming languages and is the gateway necessary for consumers and business to truly take advantage of the processors that AMD (and other companies) are building today. 

If you want programs other than video transcoding apps to really push the promise of heterogeneous computing, then the announcement of C++ AMP is very, very big news. 

Source: PCPer