The POCO C++ Libraries Blog

Archive: June, 2008


Filed under: Uncategorized by alex at 11:34

I have redone some things in DynamicAny:

  • Added support for empty state as default and empty() function to turn it into empty
  • Made DynamicAnyHolder pure virtual functions (clone(), type() and all convert() and is…() overloads) virtual. All convert() overloads throw if reached at runtime, the querying is…() functions all return false. This has provided a much simpler (shorter) way to implement DynamicAnyHolder for an unknown type because only conversions provided by the holder must be overridden. Those not overridden shall throw BadCastException at runtime if attempted.
  • Implemented clone(), type() and value() in DynamicAnyHolder<T>. Now, because of this and the previous item, DynamicAny can store any type out-of-the-box (no more DynamicAnyHolder specialization needed).

Code is in the SVN trunk. The only potentially code breaking change is the first one. If anyone encounters any surprises, please let me know.

Herb Sutter on type inference vs. static/dynamic typing

Filed under: News by alex at 18:20

There’s a blog entry on the topic. Your humble correspondent posted some examples and links to DynamicAny, which caused a Boost zealot to shoot back indiscriminately. Stay tuned 😉

Bjarne Stroustrup & Herb Sutter on the Future of C++

Filed under: News by alex at 14:24

An interview (Part 1 and Part 2) with B. Stroustrup and H. Sutter taken during SDWest 08. Second part is particularly interesting – they discuss functional aspects of C++ (and some other languages). The bottom line, once again: multiparadigm – way to go.

Grady Booch on complex software

Filed under: News by alex at 14:39

A couple of interesting links to Grady Booch’s bits of wisdom.

In CIO, he talks about the 5 things he has learned about complex software systems:

  • The fundamentals never go out of style.
  • You need a regular rhythm of releases.
  • Focus upon growing executable architectures.
  • Create social structures that encourage innovation while still preserving predictability.
  • Have fun.

Here’s a link to a (a bit lengthy, but worth hearing) speech at Yahoo:

SourceForge 2008 Community Choice Awards

Filed under: News by alex at 11:50

If you like POCO, please consider voting. Description of the contest is here.