Cross-compiling with dlang betterc

BETTERC IS A “subproject” of the D language. It enables writing a kind of C dialect, that benefits some of the modern language features provided by the D language. It does not utilize the runtime of the D language, and is essential what makes the language more C like in Read more…

C++ Contructor/Destructor Call Order

WHEN BEGINNING C++ programming I’ve experienced people to have trouble remembering the correct construction and destruction call order. Personally I conquered this using a common memory technique – creating a story. Here are two stories that might help in remembering. The stories might seem quite long, but don’t fear, it’s Read more…

Placement new

REPLACEMENT NEW CAME to mind, when working on a C++ project of mine. In this project some large objects of short lifetime led to a concerns about memory fragmentation on the targeted embedded platform that have only sparse memory ressources. The life cycle of the objects was to create an Read more…