Designing Patterns
Discussing nitty gritty software development details that Tony finds interesting
November 5th, 2009 at 01:44 pm . Leave a Comment
I tend not to inline C++ methods in order to reduce compile dependencies, but, guided by a profiler, it sometimes is very beneficial.
November 4th, 2009 at 04:27 pm . Leave a Comment
epoll definitely provides a substantial performance gain over poll for 100 sockets. Poll scales very poorly.
October 26th, 2009 at 09:35 pm . Leave a Comment
Will epoll provide a substantial performance gain over poll for ~120 sockets (Linux)?
October 22nd, 2009 at 01:16 pm . Leave a Comment
Timing measurements of the day: a 40K memcpy takes about 20 us on an Opteron 275 and only 3.5 us on a (much newer) Xeon E7340.
October 22nd, 2009 at 11:32 am . Leave a Comment
Find cache line size on linux (recent CPUs only): cat /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size
October 21st, 2009 at 12:44 pm . Leave a Comment
Linking with a module and against a shared library with the module can lead to constructing/destructing statics in the module twice (boom)!
October 20th, 2009 at 04:52 pm . Leave a Comment
Enjoying the ease, power, and flexibility of the debugger, having relied on print statements to track down issues in the past (neanderthal?)
October 15th, 2009 at 01:47 pm . Leave a Comment
Problem: company wants to let employees work remotely but also wants full control over work calls. Solution: Citrix + Softphone + VOIP.
October 14th, 2009 at 11:38 pm . Leave a Comment
C++ should copy the Java static initializer block feature. They can be simulated very easily, but I would welcome the syntactic suger.
October 14th, 2009 at 11:26 pm . Leave a Comment
Fail-fast (http://en.wikipedia.org/wiki/Fail-fast) is a key property of a well constructed system.