Hi folks,
in the RawTherapee forum a nice guy named ben_pcc offered source code for dynamic range compression (background to the algorithm). Since his results looked quite promising (and testing with just a source code file for RawTherapee is not so nice) I wrapped it into a small command line program and added a gimp script to call it. Binaries and source are attached.
The algorithm can be used to get a more even exposure on images with very high dynamic range, while preserving local contrast, so the image doesn't look washed out afterwards... With a little more work in gimp you can create fake HDR effects or a result similar to topaz adjust.
The attached image is a result of this filter and some post work in gimp; mainly local contrast and saturation. More results for this picture on flickr, original on deviantart.
So have fun experimentating and give tribute to the inventors and the author!
Drop me a line, if you like it. 
greets mike
UPDATE: Copy the script in the plug-ins folder of gimp, NOT in the scripts folder. And set it executable on linux.
UPDATE2: Ben wants to let you know, this algorithm is still work in progress. Also from my side, the script calling drc is just one way to do so, there could also be different workflows in the script calling it. So, if you have ideas or encounter problems, please tell me.