Google I/O 2011: Beyond JavaScript: Programming the Web with Native Client

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
20,869
Loading...
Alert icon
Sign in or sign up now!
Alert icon
There is no Interactive Transcript.

Uploaded by on May 11, 2011

David Springer

Learn how to supercharge your web apps with native C/C++ code that runs directly in the browser, without the hassle of a plug-in. Join us as we build a simple game that has a simulation engine built in C/C++ and a front-end built in Javascript. You'll learn how to serve the native code and how to connect the C/C++ code to Javascript.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (32)

Sign In or Sign Up now to post a comment!
  • I think the best thing here is using python to compile. So sick of different architectures blowing up OS projects from the outset.

  • 999 videos :o

  • Does this mean that the server is doing the work of the game processing? Doesn't that drastically limit the number of players?

  • Us C++ programmers are getting ready to inundate the net with fast routines, great 3d games and all kinds of neat stuff that you simply can't do today with the current crop of web languages.

  • @Venkat19824 security

  • Why dint google give access to file i/o's directly?.Best way is to keep those api's as it is and modify things internally to that call rather than forcing all the existing legacy code to use Pepper API's.The whole C standard library and C++ standard library should be maintained as it is to maintain compatibility.

  • @Chronos2111 i beg to differ, i'd prefer linux, with a black command prompt and access to my own crap, not something built on top of linux, only if it's XEN.

  • @MrLinkski C# is actually 99% the same as Java. Just for your info.

  • @MrLinkski You're a true microsoft evangelist. Be proud of it.

  • @Divinized LOL I love it! Actually it would probably be easier to write it in C# and translate to C++ instead of writing it in java!!!!!!!!!

  • @MrTheKenji um why not just use JavaVM, FLASH, or like javascript? why allow google direct access to do data-processing? it sound's like they are building a distributed supercomputing platform to me?????

  • @zeffii hahahahhaha! BOOM!

  • In early 2011 Google chose to temporarily withhold the source code to the tablet-only Honeycomb release, which called into question the "open-ness" of this Android release.

  • @Chronos2111 Well you can always obfuscate javascript code like Google and Facebook and make it much harder to follow. Take a look at the html source of gmail, I wouldn't want the GoogleUpdateService creating 50,000 more scheduled tasks in my OS, who knows what kind of data pre-processing is going on. I sure don't trust Android trying to make the OS uncrackable. see: .youtube.com/watch?v=A9WVmNfgj­tQ

  • @MrLinkski At least we would be free from the OS. You wouldnt need windows to run a whole bunch of apps, but you would be free choosing Android, Windows, MacOS, Linux or whatever. That would be cool. This tech is open source. Nothing will happen behind your back, like at microsoft.

  • @MrLinkski Not sure what you're getting at. Maybe you've misunderstood NaCl. It is not "software as a service". NaCl modules run on the user's CPU, just like when you download and run an exe file. It's just that they run within the browser window and can interact with it like a client-side script can. It has no more or less privacy implications than traditional client apps or web apps.

  • So basically Google wants you to execute everything independent from the OS, doesn't this concern Anyone's PRIVACY???????

  • @MrRedJoker93 okay, so I use chrome, but not everyone does. so using this to build apps that run on, say, ie or an iPhone is kind of difficult. it's certainly good for google because they can boost their services on chrome, but for everyone else, I'm not so sure.

  • @dmitrinesteruk If you're using Chrome then there will be no plugin necessary. It's already built into the browser.

  • Seems like a terribly awful idea to me. Not only is the suggestion to get people writing C++ again (please, not for the web!) but it probably implies another browser plugin/thingamajic just to get it to work.

  • C# implementation?

    That sounds fun :)

  • Crap! Everyone will use c++ now!

  • Dont be scared, this is a very very good idea for the future of web apps. LLVM is a much better client side abstraction than JavaScript.

  • This has got to be the dumbest idea ever.

    Whats the point of web programming if you have to worry about what instruction set your using, or which combinations of assembly are "evil." It'll end up becoming that a malicious website will now have direct access to your CPU and GPU, DDOS right on your own hardware. Watch the Q&A.

  • Very interesting, though I dislike the idea of dhtml and running applets in-browser.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more