Five Popular Myths About C++

Bjarne Stroustrup, the creator of the C++ language, has written a series of posts (part 1, part 2, part 3) on these five myths about C++:

  • “To understand C++, you must first learn C”
  • “C++ is an Object-Oriented Language”
  • “For reliable software, you need Garbage Collection”
  • “For efficiency, you must write low-level code”
  • “C++ is for large, complicated, programs only”

[HT: ISO C++ blog]


ODB C++ ORM 2.4.0 Adds Bulk Operations

ODB is an open source object-relational mapping (ORM) system for C++. It allows you to persist C++ objects to a relational database without having to deal with tables, columns, or SQL and without manually writing any of the mapping code.

Major new features in the 2.4.0 release:

  • Support for bulk operations in Oracle and SQL Server. Bulk operations can be used to persist, update, or erase a range of objects using a single database statement execution which often translates to a significantly better performance.
  • Ability to join and load one or more complete objects instead of, or in addition to, a subset of their data members with a single SELECT statement execution (object loading views).
  • Support for specifying object and table join types in views (LEFT, RIGHT, FULL, INNER, or CROSS).
  • Support for calling MySQL and SQL Server stored procedures.
  • Support for defining persistent objects as instantiations of C++ class templates.

More information can be found in the official announcement and the developer’s blog.