Ray Tracing, Ray Tracer, Haskell, Performance, Parallel Computing.
eventually be used. But if we know that a result will be used, then laziness could be a curse. In our case, it is! So let’s force expressions to evaluate expressions fully, so that we don’t consume too much memory. To do that, I used deepseq library which provides many functionalities, one of which