Linked by kragil on Wed 23rd Jan 2013 20:26 UTC
Google "Native Client enables Chrome to run high-performance apps compiled from your C and C++ code. One of the main goals of Native Client is to be architecture-independent, so that all machines can run NaCl content. Today we're taking another step toward that goal: our Native Client SDK now supports ARM devices, from version 25 and onwards."
Thread beginning with comment 550135
To read all comments associated with this story, please click here.
Comment by Laurence
by Laurence on Wed 23rd Jan 2013 20:38 UTC
Laurence
Member since:
2007-03-26

Not sure why anyone would want to run C++ in a web browser.

Off topic, but I wish Google would hurry up and release an Android SDK for Go though.

Reply Score: 1

RE: Comment by Laurence
by Hiev on Wed 23rd Jan 2013 20:40 in reply to "Comment by Laurence"
Hiev Member since:
2005-09-27

but I wish Google would hurry up and release an Android SDK for Go though.

But why?

Go is a C like language, a little more pretty but still with a syntax that can become hard to read IMHO.

Reply Parent Score: 2

RE[2]: Comment by Laurence
by Laurence on Wed 23rd Jan 2013 20:48 in reply to "RE: Comment by Laurence"
Laurence Member since:
2007-03-26


Go is a C like language, a little more pretty but still with a syntax that can become hard to read IMHO.

Sorry, but I'm not sure I get your point as both the officially supported languages are C-like (Java and C++).

However Go is much more than just another C-like language. Syntactically it's concise yet still verbose enough to be readable. It's a managed language but it doesn't make assumptions (unlike some managed languages).

In all honestly, I've only been using it a week yet it's so easy to pick up that I already feel like I've been programming in the language for months. It really is a joy to use.

Plus it's cross compiling support is child's play. I can write an application on x86, get it working exactly how I want, then just change one compiler flag to create and ARM binary for my Raspberry Pi. I will concede that it's been the best part of 10 years since I've done any cross compiling in C++, but I'm sure it was never that easy.

Edited 2013-01-23 20:50 UTC

Reply Parent Score: 2

RE: Comment by Laurence
by dagw on Wed 23rd Jan 2013 21:36 in reply to "Comment by Laurence"
dagw Member since:
2005-07-06

Not sure why anyone would want to run C++ in a web browser.

Either because you have a C++ desktop app or game that you want to turn into a web app without rewriting all the core logic in JavaScript, or because you a have web app that you want to speed up by writing a couple of core bottlenecks in C++.

Reply Parent Score: 4

RE[2]: Comment by Laurence
by moondevil on Wed 23rd Jan 2013 22:31 in reply to "RE: Comment by Laurence"
moondevil Member since:
2005-07-08

Both an abomination.

The browser is for documents.

Reply Parent Score: 4

RE: Comment by Laurence
by MacMan on Wed 23rd Jan 2013 22:03 in reply to "Comment by Laurence"
MacMan Member since:
2006-11-19

Not sure why anyone would want to run C++ in a web browser.


Ugh, ever here of a some computation requiring performance??? Say something like game, imagine if Chrysis were written in some script kiddie language.

Nacl holds huge promise for games,HPC/distributed computing, or any other computationally intensive app.

Reply Parent Score: 3

RE[2]: Comment by Laurence
by moondevil on Wed 23rd Jan 2013 22:32 in reply to "RE: Comment by Laurence"
moondevil Member since:
2005-07-08

I thought we already had that, it called desktop!

Reply Parent Score: 4

RE[2]: Comment by Laurence
by Laurence on Wed 23rd Jan 2013 22:51 in reply to "RE: Comment by Laurence"
Laurence Member since:
2007-03-26

"Not sure why anyone would want to run C++ in a web browser.


Ugh, ever here of a some computation requiring performance??? Say something like game, imagine if Chrysis were written in some script kiddie language.

Nacl holds huge promise for games,HPC/distributed computing, or any other computationally intensive app.
"
Here's a thought , writing native C++ for the desktop. I bet it would never catch on though

Reply Parent Score: 3

RE[2]: Comment by Laurence
by dragos.pop on Thu 24th Jan 2013 08:16 in reply to "RE: Comment by Laurence"
dragos.pop Member since:
2010-01-08


Nacl holds huge promise for games,HPC/distributed computing, or any other computationally intensive app.


HPC in a web browser? How, why? Frontend of HPC yes, but for that even HTML4 is enough.

Reply Parent Score: 2