Blog

Version 2.0 of the ISO C++ Standard

February 14, 2007

Although I'm 100% .NET, C++ is still my favorite programming language. You have to take care of cleaning up your own mess, no garbage collector to rescue your application from memory leaks.

A while ago, I had a memory leak in a .NET application that makes extensive use of the StringBuilder class. A large StringBuilder object was occupying Generation 2 memory. This object was never cleaned up by the garbage collector. At that moment, I wished that the garbage collector wasn't screwing up my day and that I could free the damn memory myself. The new C++ standard adresses this issue:

A C++0x compiler must provide garbage collection, which the programmer can use on request; "don't GC this region of code" is still the default. This "opt-in" model leaves existing programs' semantics unchanged, while providing real GC support for programs that want it.

I'm also glad that the new standard specifies the need for concurrency libraries. I'm really looking forward to this.

You can download the first partial draft of C++0x here.  

If you and your team want to learn more about how to write maintainable unit tests and get the most out of TDD practices, make sure to have look at our trainings and workshops or check out the books section. Feel free to reach out at infonull@nullprincipal-itnull.be.

Profile picture of Jan Van Ryswyck

Jan Van Ryswyck

Thank you for visiting my blog. I’m a professional software developer since Y2K. A blogger since Y2K+5. Provider of training and coaching in XP practices. Curator of the Awesome Talks list. Past organizer of the European Virtual ALT.NET meetings. Thinking and learning about all kinds of technologies since forever.

Comments

About

Thank you for visiting my website. I’m a professional software developer since Y2K. A blogger since Y2K+5. Author of Writing Maintainable Unit Tests. Provider of training and coaching in XP practices. Curator of the Awesome Talks list. Thinking and learning about all kinds of technologies since forever.

Contact information

(+32) 496 38 00 82

infonull@nullprincipal-itnull.be