Archives

July 9th, 2011 | Tags: C++, software | Category: CodeProject, Software

A practical guide to C++ serialization

CodeProject In a nutshell, serialization consists of writing data and objects on a support (a file, a buffer, a socket), so that they can be reconstructed later in the memory of the same or another computing host. The reconstruction process is also known as deserialization. Serializing a primitive type like a bool, int, or float, [...] [...]

Continue reading A practical guide to C++ serialization

May 30th, 2011 | Tags: C++, quality, software | Category: CodeProject, Software

How to make software deterministic

CodeProject A program is deterministic, or repeatable, if it produces the very same output when given the same input no matter how many times it is run. Refining this definition, we should consider whether a program produces the same result on any platform (32 and 64 bits machines, running Windows, Mac OS, Linux, Solaris, etc). [...] [...]

Continue reading How to make software deterministic

April 9th, 2011 | Tags: C++, quality, software | Category: CodeProject, Software

What is software quality?

CodeProject The quality of software is assessed by a number of variables. These variables can be divided into external and internal quality criteria. External quality is what a user experiences when running the software in its operational mode. Internal quality refers to aspects that are code-dependent, and that are not visible to the end-user. External [...] [...]

Continue reading What is software quality?

July 7th, 2010 | Tags: C++, quality, software | Category: CodeProject, Software

How to write abstract iterators in C++

CodeProject When developing in C++, an impeccable API is a must have: it has to be as simple as possible, abstract, generic, and extensible. One important generic concept that STL made C++ developers familiar with is the concept of iterator. An iterator is used to visit the elements of a container without exposing how the [...] [...]

Continue reading How to write abstract iterators in C++