C# - a few tips

November 23rd, 2006

Consider marking as static - Methods that do not access instance data or call instance methods can be marked as static. The compiler will emit non-virtual call sites to static members. So it will prevent checking at runtime for each call whether the current object pointer is non-null. It can be a performance gain.

Read the rest of this entry »

Qt4 - WTF?

November 23rd, 2006

I installed Qt4 yesterday, just for fun and to see what’s new in this library. It’s normal that even the simplest application needs some additional DLL’s to work. But Qt4 needs at least two files which total size is above 10 MB! What the fuck?

wxWidgets - pros and cons

November 22nd, 2006

I’ve been working with wx for a quite long time. Two years ago I was looking for good portable GUI library for C++. I tried many of them but I must say - it was a hard decision to make. I chose wxWidgets and let me show you an opinion.

Pros:

  • good documentation
  • wide community
  • high portability (and what’s important - it’s native)
  • free license
  • many components contributed by users
  • support for image, network and files management
  • it’s very mature

Cons:

  • architecture similar to MFC
  • omnipresent C macros :/
  • no STL
  • lack of modern C++ features
  • There is no stable and free GUI editor (Commercial ones are really good but expensive, free ones are useless)

Playing with Freetype

November 17th, 2006

I’ve always wanted to write simple text rendering engine for OpenGL. Many existing libraries aren’t good enough for my expectations. Simple ones were too simple and advanced ones had too much useless functions. Then I tried Freetype and it’s so simple to achieve my goal now. Creating font textures with that library is very easy. I’ll show it in action when I’m finished.

Web Developer - Firefox extension

November 10th, 2006

Few days ago I found a great extension for my favorite internet browser. The Web Developer gives us many useful tools and features:

  • managing cache, javascript, colors
  • disabling, adding, viewing of cookies
  • tools related to CSS on the page (displaying styles, live editing)
  • manipulate forms on a page
  • outlining page elements (tables, images, divs…)
  • finding broken images
  • various information about all elements on a page, viewing document size
  • resizing window to given resolution
  • many others…

I really recommend this amazing tool.

Designed by SirMike © All rights reserved

Valid XHTML 1.0! Valid CSS!