David's blog
First test post from BunnyBlogger
July 04, 2011 00:00
Several moons ago I have been working on a special blogging client, that is capable of wysiwyg blogging and allows you to take snapshots from movie files and add images and oth...
Read postWill the destructor be called?
August 10, 2010 00:00
Here's a C++ quiz for all of you: somefunc() will be called from a thread. Do you think this destructor will be called?
class A {
public:
A () {
printf("Constructor\t");
}
~A() {
printf("Destructor\n");
}
};
int somefunc () {
A inst;
int* a = 0
*a = 1;
return 0;
}
...
Read postThat's Not The Point
December 29, 2009 00:00
Today I read an interesting chapter in Writing Solid Code, and it showed an example where a supposed optimization led to code bloat:
To represent the hierarchical window structure, Character Windows used a binary tree in which one branch pointed to subwindwos, called "children" and the... Read post
GWT: Next level of automation
November 04, 2009 00:00
After playing a little with GWT, and attempting to add a map into my little webapp, I've found that this is really a very good idea. By applying a language to abstract all the small difficulties of programming a webpage for different browsers, you essentially move a larger percentage of the work int...
Read post