Maybe you could port embed Halide ( http://halide-lang.org/ ) in D? I'm joking as it must be hard work to port this, but I find super-impressive that they were able to separate the algorithm from the "optimizations schedules" (a la SQL) and still being able to have good performances.. renoX