17 Sep 2000 graydon   » (Master)

more hot kimchee

back in toronto. cleaned apartment, moved everything around, paid loads of bills, back in my normal life with frances. everything feels mostly right again.

current fascination is with the perverse beauty of "generative programming"; in particular, with the horrors of expression templates and their use in compile time optimization of scientific computation. This is sick, dark magic business and I love it.

thus far, authors have explored this technique in making unrolled vector libraries and simulating functional programming. I'm interested in seeing if the same technique can be effectively used to do an arbitrary precision rationals package in C++ without any performance hit. I think it can, but I'm still surveying the literature. it's even crossed my mind that such a library could select appropriate cases in which to use long word & vector integer coprocessors, so common on today's CPUs :)

this is especially interesting because, now that I'm fiddling with quantum chemistry programs, I'm really coming to loathe floating point math.

the other possibly useful thing which could be done at a static metaprogramming level is to reorder expressions to minimize truncation and roundoff error if you happen to be using FP. so much interesting stuff to explore. sigh

going out to a party now...

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!