Monday 4 July 2011

[YAGE] Memory Management - RAII

Back to YAGE and memory management methods and this time it'll be a short introduction to RAII.

So what's RAII?
RAII[1][2] which stands for Resource Acquisition Is Initialization is a widely used C++ idiom[3]. The weird name may not tell much. But, if used under some strict conditions, this idiom grants the absolute respect of the resources ownership -pointers included- which spares the developer all the headache of monitoring dynamic memory use.

Sunday 13 February 2011

[Code Hints] Formatting source code to post in Blogger

I've been thinking of a way to automatically format the source code samples posted on the blog. I made a quick search on Google and I found this free online tool called Source Code Formatter Tool which I have to credit for the formatting of the source code posted in the previous article.
I guess it's worth the try for a lightweight formatting tool, well except for the coloring feature which could be a priority for some.
Note that there are several online tools which do the same as Source Code Formatter Tool.

[YAGE] Memory Management - Introduction

It seems to me that memory management is a subject that has to be dealt with in the YAGE project. I've been doing some researches on the subject whenever I could afford some spare time.
This is -may be- an introduction to memory management techniques.