performance

Templates on the surface

Templates is an important part of the C++ language. Templates is a language within the language. There are two kinds of templates, one is function templates and the other is template classes. This chapter will only go through the basic usage and explanations.

How to dynamically load native DLLs from C#

Loading native DLLs from a managed context (C#, VB.net) is an evil necessity. Native and managed must sometimes communicate, and sometimes the best way is to call native methods directly from a managed context.

Irrlicht culling problem

We’ve recently had major performance issues while testing the game. Debug information has shown that it was the graphics that was taking from 60 and up to 300 milliseconds per second to redraw all nodes. One of the issues that was discovered in analysis is that terrain ISceneNode had automatic culling EAC_OFF:

Performance testing in C++

While developing a message-driven system we’ve come to a problem of what type of object creation/destruction uses less system resources: stack or heap. And although you maybe know the answer it’s always interesting to measure to be sure. We’ve done it with the help of unit-testing.