SD TIMES BLOG
ahandy

Google Darts, C++ goes to 11

by Alex Handy 10/11/2011 03:23 PM EST

It's been a very busy week for languages, already. First, Google announced Google Dart, the long rumoured Web development language. Second, the C++11 ISO specification was finally released. Could the two languages be any more dissimilar? Not likely.

Let's start with a look at Dart. While the language has its own virtual machine in Chrome, the real use of it will be as a JavaScript intermediary. When viewing a Dart application in FireFox or Microsoft IE, for example, Dart code will be compiled into JavaScript for running in those other browsers. It's an interesting approach. Dart is aimed at being a rapid prototyping language for Web applications. Clearly, Google expects people to write deployable applications with it, as well. But the real focus seems to be on a simple syntax, powerful Web tooling, and speed for development.

Still, a programming language takes at least five years to be useful, and ten to be popular. We'll just have to wait and see if these figures are winnowed down by the ever expanding Internet and the speed with which people latch onto new technology. Who knows, Dart could be popular in a couple of years, if its simple enough. It sure looks simple enough, but time will tell. Check out "Hello World" in Dart.

Meanwhile, the real software developers out there are most likely excited about C++11. The manly men and womenly women who code in the supreme ruler of C-based languages has completed its first major going-over in ten years. Rather than dig into all the new features of the language, it's better to let Bjarne Stroustrup detail the changes in his own words: after all C++11 is his baby. Check out his full write-up here.

But Stroustrup sums up his feelings on this update quite succinctly early in the document:

Surprisingly, C++11 feels like a new language: The pieces just fit together better than they used to and I find a higher-level style of programming more natural than before and as efficient as ever. If you timidly approach C++ as just a better C or as an object-oriented language, you are going to miss the point. The abstractions are simply more flexible and affordable than before. Rely on the old mantra: If you think of it as a separate idea or object, represent it directly in the program; model real-world objects, and abstractions directly in code. It's easier now: Your ideas will map to enumerations, objects, classes (e.g. control of defaults), class hierarchies (e.g. inherited constructors), templates, aliases, exceptions, loops, threads, etc., rather than to a single "one size fits all" abstraction mechanism.

My ideal is to use programming language facilities to help programmers think differently about system design and implementation. I think C++11 can do that - and do it not just for C++ programmers but for programmers used to a variety of modern programming languages in the general and very broad area of systems programming.

In other words, I'm still an optimist.

Currently rated 2.2 by 11 people

  • Currently 2.181818/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Share this link: http://www.sdtimes.com/blog/1867

Tags: , , , , , ,

C++

Add comment


 
 

biuquote
  • Comment




 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
MAY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Why we leave
Ten reasons good workers leave their jobs, plus a few suggestions for retaining them.
05/22/2012 06:14 PM EST

Creation
To write better software, cultivate your ability to be creative.
05/19/2012 07:40 PM EST

Slick...but who needs it?
compilr.com is a well-designed site and the folks behind it seem to have their heart in the right place. But...who needs it?
05/16/2012 12:45 PM EST

How to be a better software developer
Want to be a better developer? You won't get there by mastering an interesting language or learning a new set of APIs.
05/14/2012 12:18 PM EST

Wooing Galatea
Do yourself a favor and check out Galatea 2.2, a wonderful book by novelist Richard Powers.
05/12/2012 07:05 PM EST

The world as story
An artificial-intelligence system at Carnegie Mellon seeks to understand the world by making statements about it.
05/10/2012 06:39 AM EST

 

Events calendar tab
5/23/2012 to 5/24/2012
Chicago
IEG

6/3/2012 to 6/7/2012
Orlando
IBM Rational

6/10/2012 to 6/15/2012
Las Vegas
SQE

6/10/2012 to 6/15/2012
Las Vegas
SQE

6/11/2012 to 6/14/2012
Bellevue, Wash.
AMD