Introducing C++11: Next iteration of programming language passes review
(PhysOrg.com) -- This past week in Madrid, Spain, the next iteration of the C++ programming language, C++11, passed review by the technical standards committee.
Barring unforeseen delays the official standard will be approved in the fall.
Texas A&M Distinguished Professor and College of Engineering Endowed Chair in Computer Science Bjarne Stroustrup designed and implemented the C++ programming language, which celebrated its 25th anniversary in October 2010. C++ is one of the most widely used programming languages; it simplified the interaction between man and machine and helped object-oriented programming become the leading method of software programming and development. Chances are if that you have an appliance in your house that uses a computer, it is running C++.
For a programming language, a standard represents a long-term commitment to the people who work with it. An ISO (International Organization of Standardization) standard will ensure that decades from now, today's standard conforming C++ programs will run with minimal modifications, just as an older C++ programs do today. The ISO standard will allow programmers to use C++ on essentially all computers and from every implementation provider. Traditionally the standardization of a programming language occurs about every 10 years, with most of the work done by volunteers. Stroustrup was heavily involved in the process for C++.
"The new standard provides language features that make it easier to write correct and well-performing code in C++ together with more standard libraries. For example, C++11 provides facilities for writing concurrent code (e.g. for multicore machines) in a type safe-manner. The improved language facilities are focused on allowing better specification and use of abstractions (classes and templates). Examples are a more efficient way of getting results out of functions (move semantic), better facilities for object initialization, and a simpler for loop. Examples of new library components are hash tables, threads, and regular expression matching."
Up next for Stroustrup is a ton of writing: "Next for me is to write the next edition of The C++ Programming Language, the definitive book on C++. Also, we now have the updated language features, but we don't yet have a doctrine of use; we don't have a coherent explanation of the language as a whole. People don't use individual language features; they need an explanation of how to use the features effectively in combination to solve real-world problems," Stroustrup said.
"The purpose of standardization is not language features; the purpose is to make C++ code faster, more reliable, easier to write, easier to maintain, and easier to modify. Now that we know what the standard looks like, we can start programming with it. Compilers are already implementing many of the new features today."
For more details, please see the C++0x FAQ at http://www.researc … ++0xFAQ.html .
Stroustrup is a member of the National Academy of Engineering, an IEEE Fellow, an AT&T Fellow and an ACM Fellow. In 1993 he received the ACM Grace Murray Hopper award "for his early work laying the foundations for the C++ programming language. Based on those foundations and Dr. Stroustrup's continuing efforts, C++ has become one of the most influential programming languages in the history of computing." In 2008, Stroustrup received the Dr. Dobb's Excellence in Programming award for "advancing the craft of computer programming."
Provided by Texas A&M University
-
From lemons to lemonade: Reaction uses carbon dioxide to make carbon-based semiconductor,
32 comments
-
Thioridazine kills cancer stem cells in human while avoiding toxic side-effects of conventional cancer treatments,
3 comments
-
SpaceX private rocket blasts off for space station (Update),
42 comments
-
Climate scientists say they have solved riddle of rising sea,
30 comments
-
Research team claims to have found evidence Lake Cheko is impact crater for Tunguska Event,
18 comments
-
Ideas to mitigate risk of 911 calls being misdirected
May 24, 2012
-
Live scribe pen?
May 10, 2012
-
Shallow water flow simulation
May 07, 2012
-
Tablet for taking notes?
May 05, 2012
-
Best fit tablet for me?
May 05, 2012
-
Measure of Informaton
May 04, 2012
- More from Physics Forums - Computing & Technology
More news stories
SpotterRF debuts Radar Backpack Kit (w/ Video)
(Phys.org) -- SpotterRF has announced a special radar backpack kit designed to enhance situational awareness for soldiers on the ground. The company says its special radar is designed for warfighters as part ...
Probability of contamination from severe nuclear reactor accidents is higher than expected: study
Catastrophic nuclear accidents such as the core meltdowns in Chernobyl and Fukushima are more likely to happen than previously assumed. Based on the operating hours of all civil nuclear reactors and the number ...
Technology / Energy & Green Tech
May 22, 2012 |
3.6 / 5 (21) |
55
|
Delphi gasoline-injection engine technique rivals hybrid's edge
(Phys.org) -- Running a diesel like engine on gasoline is something Delphi is doing in notable fashion. They claim they are on to a promising way to enjoy an engine that gives the vehicle owner high efficiency ...
HyperSolar shows dirty water no barrier to power world
(Phys.org) -- The Santa Barbara, California, company, HyperSolar, is set to transparently share the ups and downs of its research experiences toward the companys ultimate vision, successfully producing ...
Tesla to launch electric sedan in US on June 22
Tesla Motors said Tuesday it would begin deliveries of "the world's first premium electric sedan" on June 22, slightly ahead of schedule.
Technology / Energy & Green Tech
May 22, 2012 |
4.5 / 5 (11) |
18
Scientist: Evolution debate will soon be history
(AP) -- Richard Leakey predicts skepticism over evolution will soon be history. Not that the avowed atheist has any doubts himself.
Dell tablet leak: 10.1-inch display, two-battery choice
(Phys.org) -- Headline after headline talks about vendors tablets in the wings as likely number-one contenders for the iPad. Such claims have justifiably been taken with a grain of salt, considering ...
SpaceX capsule has 'new car' smell, astronauts say (Update)
SpaceX's Dragon cargo vessel smells like a new car, said astronauts at the International Space Station after opening the hatches Saturday following the spacecraft's landmark mission to the orbiting lab.
Thousands of shellfish found dead in Peru
Thousands of crustaceans were found dead off the coast of Lima following the mystery mass death of dolphins and pelicans, the Peruvian Navy said Friday.
Astronomers seize last chance in lifetime for Venus Transit
Astronomers are gearing for one the rarest events in the Solar System: an alignment of Earth, Venus and the Sun that will not be seen for another 105 years.
Keep food safety in mind this memorial day weekend
(HealthDay) -- Picnics, parades and cookouts are as much a part of Memorial Day weekend as tributes to the United States' war veterans.
Apr 11, 2011
Rank: not rated yet
-They need to stop changing that dam acronym. First it was internation standard org, than oranization of standardization, then standardization of international organizations, then InterOrg tionalization standardization. Lol, the old name was better.
Also, C++11 is s silly pun of a name, but this stopped being original and funny in the 80's. Wouldn't be surprised at all if C++ loses some ground for its name alone.
Apr 11, 2011
Rank: 1 / 5 (1)
Why not name it C+++?
Apr 11, 2011
Rank: not rated yet
The major thing will probably be the upgrade process. If it is a smooth as from VB6 to VB.NET then I can't see why I wouldn't be making the jump. But if I had to reprogram thousands and thousands of lines of code, lol... Luckily this really just sounds like a touch up to C++ to make it more usable and to include more modern programming needs; not so much the VB jump.
But handling threads is a pain in the butt and if they really can make it easier (and hopefully faster) then that's a step in the right direction.
Apr 11, 2011
Rank: not rated yet
Apr 12, 2011
Rank: not rated yet
Apr 12, 2011
Rank: not rated yet
Actually the chances are that it's running good old fashioned C. C++ is too complex (space hungry and too distant from the hardware) for most small cheap microprocessors to be able to run.