Am 22.08.2011 19:56, schrieb Orchid XP v8:
>>> Mind the recursion.
>>
>> Sure, but every recursion can also be expressed as an iteration ;)
>
> I'm fairly sure that's incorrect, but I can't find a reference...
>
...and I'm fairly sure it is true as long there is proof that the
iterative calculus is Turing-complete as all Turing-complete calculi are
idempotent.
But I'm much more interested in the practical aspect and expressing
recursive raytracing with iterations is trivial in this case as the
OpenCL kernel-language is close to C99 (just without recursion).
-Ive
Post a reply to this message
|