Compile-time Raytracer

The Mad Templater, Tomasz Stachowiak, has really gone off the deep end now. In his never-ending exploration of D’s metaprogramming capabilities, he has whipped up a raytracer that renders images at compile time. The next time one of the doubters wrapped in the cloak of C++ worship asks for an example of something D can do that C++ can not, point them toward this little app. It won’t do any good since they’ll dismiss it as pointless anyway, but we all know better. This is amazing, Tom. Keep it up!

Technorati Tags: , , ,

This entry was posted in News. Bookmark the permalink.

One Response to Compile-time Raytracer

  1. Aldacron says:

    This comment is from phresnel. It wasn’t being accepted by WordPress for whatever reason, so I’m posting it for him.

    Though there are now also compile time ray tracers in C++:
    * minimalistic as proof of concept of compile time ieee math
    (http://ompf.org/stuff/metafloat/):
    http://ompf.org/forum/viewtopic.php?p=6525#p6525
    * ray tracer based on boost::mpl:
    http://www.ambient-occlusion.com/2009/09/meta-programming-raytracer-13/
    * fixed point recursive ray tracer (incl. reflection):
    http://gitorious.com/metatrace/

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>