General Development Archive

Smart Pointers and Exception Handling in C++

Andrei Alexandrescu discusses smart pointers, from their simplest aspects to their most complex ones and from the most obvious errors in implementing them to the subtlest ones -- some of which also happen to be the most gruesome. Also, learn how to throw an exception, how to associate handlers, or catch clauses, with a set of program statements using a try block, and how exceptions are handled by catch clauses, exception specifications, and design considerations for programs that use exceptions.

C# is just Java? Only a Little Worse

"C# and Java are both nice languages. They reach similar goals through similar means, although C# adds some syntactical touches to Java, such as the foreach keyword and a more pleasant extends/implements construct. Unfortunately, the improvements are outweighed by the instances of regression. In this article, I'll compare the languages, while trying to avoid dipping to the JVM and CLR level." Read the article at Builder.com. Update: A similar comparison article, about security.

Rational Releases Development Powerpack

The new The Rational Developer Powerpack has been released, it includes XDE - Java Platform, XDE - .NET Platform, Rational Rose Enterprise Edition, Rational Rose RealTime, PurifyPlus, software evaluation guide, technical articles and whitepapers, valuable code snippets and reference applications, a handy quick-reference posters and much more. Also take a look at this interview with Rational Chief Scientist Grady Booch, who offers insights on the future of software development.

Tech Soup: Interesting InformIT Articles

Interview with Autopackage’s Project Leader

NewsForge hosts an interview with Autopackage's project leader Mike Hearn. The idea around Autopackage is to come up with a single software packaging/installation system that will work across all major Linux distributions, and resolve dependencies, too, so that neither developers nor users need to worry about distribution compatibility issues. OSNews hosted recently a feature article about the project.

Memory Hierarchy in Cache-Based Systems

This article at InformIT (free reg. req.) will help the reader understand the architecture of modern microprocessors by introducing and explaining the most common terminology and addressing some of the performance related aspects. Written for programmers and people who have a general interest in microprocessors, this article presents introductory information on caches and is designed to provide understanding on how modern microprocessors work and how a cache design impacts performance.

GCC Myths and Facts

"Since my good old Pentium 166 days, I've liked to search for the best optimizations possible so programs can take the maximum advantage of hardware/CPU cycles. If I have a nice piece of hardware, why not run it at its full power, using every little feature? Shouldn't we all try to get the best results from the money invested in our machines?" Read the article at FreshMeat.