Sunday, September 05, 2004
Here is a terrific collection of “new C++” material that's well worth reading, all from Stan lately:
- http://msdn.microsoft.com/visualc/default.aspx?pull=/library/en-us/dnvs05/html/TransGuide.asp is a translation guide from Managed Extensions for C++ (that would be the “all those underscores“ version of the language) to C++/CLI (the new, beautiful version.) If you went to the trouble of learning the __gc, __property etc way of doing everything, this guide will show you how to translate your programs. If you never got around to learning it, move straight to C++/CLI.
- http://msdn.microsoft.com/visualc/?pull=/library/en-us/dnvs05/html/stl-netprimer.asp is a guide to STL.NET. You won't find STL.NET in the current CTP release, but it's coming. C++ is the only managed language that supports both templates and generics, and they each have their place. With STL.NET you can get the best performance, you can use idioms that are familiar and comfortable, and you give up nothing when it comes to interop with other managed languages. This article is part I; I'm watching for more parts.
- Finally, this blog entry (http://blogs.msdn.com/slippman/archive/2004/08/27/221373.aspx) is on interior pointers. I've read explanations of how to code interior pointers before, but hadn't really seen what they are for. (The same can be said of anonymous methods; lots of folks will show you how to do them but Don Box showed the other night what they can be used for, and now I get it. But that's Don for you.)
What a great time to be a C++ person, watching the new language take shape.
© Copyright 2020 Kate Gregory
Theme design by Bryan Bell
newtelligence dasBlog 2.3.9074.18820
| Page rendered at Wednesday, July 08, 2020 3:18:37 AM (Eastern Daylight Time, UTC-04:00)