Category: c

  • Is hand-writing assembly still necessary these days?

    Some time ago I came over the following article: Fast CRC32 in Assembly. It claimed that the assembly implementation was faster than the one implemented in C. Performance was always something I’m interested in, so I repeated and extended the experiment. Here are the numbers I got. This is on a Core 2 Duo T5500…

  • Two new challenges

    Well, new for me at least… The first one is 0x41414141.com. Just go to the site and you can start directly. As far as I know, this is not time-bound. The second one is spargecoduasta.com (“break this code”). It is put up by BitDefender and I don’t know if it has a time limit. The…

  • Is Java slower than C? (and does it matter?)

    Via daniel’s blog (the creator of curl) I arrived to this page: why the Java implementation (JGit) doesn’t run nearly as fast as the C implementation. The short version of it is: even after many tunings JGit is twice as slow as the C implementation. One of the problems which got my attention, was the…

  • Compiling software for OpenWrt (and creating packages)

    From my experience, compiling software is not especially hard, but most of the tutorials out there are somewhat dated (as this one will be in 6-7 months). But at least until then it can be useful, and hopefully I will find the time to update it later on. I’m using the trunk version of OpenWrt,…

  • The Problem with Programming

    Via Raganworld comes the following interview with Bjarne Stroustrup (you know, the C++ guy :)): The Problem with Programming My favorite quote: There are just two kinds of languages: the ones everybody complains about and the ones nobody uses. (the article has also a nice threaded discussion possibility added. almost as nice as the one…