News for hackers. Stuff that matters.
Re:Ray Tracing in Nim by ca_parody on Wednesday July 01, 2020 @10:30PM (#23709336)
https://github.com/mratsim/Arraymancer probably has a lot of examples in it's implementation
Re:Ray Tracing in Nim by memexy on Wednesday July 01, 2020 @11:14PM (#23709589)
Yup. That's what popped up when I searched. Thanks for the reference though.
Re:Ray Tracing in Nim by mratsim on Thursday July 02, 2020 @04:35AM (#23711177)
The CUDA kernels are stored here:

- https://github.com/mratsim/Arraymancer/blob/master/src/tenso...

With the higher order function:

- https://github.com/mratsim/Arraymancer/blob/master/src/tenso...

And their code generation:

- https://github.com/mratsim/Arraymancer/blob/master/src/tenso...

It's possible to avoid inlining C++ like they do here:

- https://github.com/jcosborn/cudanim/blob/338be782/cuda.nim#L...

but I will explore that later.

Re:Ray Tracing in Nim by memexy on Thursday July 02, 2020 @11:48AM (#23714586)
Thanks.