Re:WebAssembly Raytracer
by andybak on Saturday December 16, 2017 @08:15AM
(#15939398)
It was would interesting to compare a C or Assembly version against a shader version. My hunch is that this is just a use case where a general purpose CPU is left in the dust by a modern GPU.
[ Parent
| on HN ]
A shader is just taking advantage of the GPU parallelism. Would still wreck C++ implementation.
Re:WebAssembly Raytracer
by singularity2001 on Saturday December 16, 2017 @09:53AM
(#15939761)
the emscripten.cpp is pretty much c?
Re:WebAssembly Raytracer
by singularity2001 on Saturday December 16, 2017 @10:21AM
(#15939893)
oh you mean outside of the browser. yes that would be interesting