News for hackers. Stuff that matters.
Re:C++17 constexpr Compile-time Ray Tracer (2017) by theoh on Tuesday October 30, 2018 @09:53AM (#18336441)
The argument could be made that compile-time processing is highly appropriate for the static inputs of a program, and, at the other extreme, obviously can't be applied to the dynamic inputs. (Terminology from https://en.wikipedia.org/wiki/Partial_evaluation)

Of course, the raytracer source code is the dynamic input of a compiler. The Futamura projection perspective suggests interesting options here for e.g. specializing raytracers in relation to particular scenes.

There are no comments on this comment yet.