Posts Tagged ‘algorithms’

  • Tue, Apr 27 2010

    “The CPU,” he said, “runs at a certain speed. It can execute a fixed number of instructions per second, and no more. There is a finite limit to how many instructions per second it can execute. Right?”

    “Right,” I said.

    “So there is no way, really, to make code go faster, because there is no way to make instructions execute faster. There is only such a thing as making the machine do less.”

    He paused for emphasis.

    “To go fast,” he said slowly, “do less.“

    http://asserttrue.blogspot.com/2009/03/how-to-write-fast-code.html

    p.s. the site should be a bit faster now ;)

  • Thu, Apr 1 2010

    Finally.

    My first post that is NOT going to be about payments. Thank <insert-your-favorite-deity-here>.

    Spring has arrived here in New York this week and one of the grandest of all algorithms is beginning to unfurl its beauty across the city.

    With the arrival of warmer temperatures, trees have sprouted buds that are just now beginning to flower. A profusion of life is filling every street, every lane, every park. Ivy is beginning its slow and tedious ascent up the sides of buildings. Birds are singing impossible tunes and frolicking in the air.  Hipsters are wearing ugly shorts.

    All of this … the result of a simple genetic code coupled with a brutally efficient algorithm: live and reproduce, or die.

    It’s the way in which myriad forms of life express their unique genetic code under the stress of the great equalizer that is the algorithm of evolution … this, besides payments of course, is what fascinates me to no end.

    If there is a god, I’m pretty sure (s)he’s a computer programmer.