Re:Optimizing Ray Tracing in Haskell
by logicchains on Sunday July 19, 2020 @01:01AM
(#23887129)
I wonder if the author would have achieved similar results just by enabling the -XStrict language extension from the start.
[ Parent
| on HN ]
I didn't know that. I'll try that. Thanks for mentioning it.
-XStrict is almost never optimal in Haskell as a lot of the optimizations ultimately rely on lazy evaluation. I think more appropriate would be to try out -XStrictData instead.
Re:Optimizing Ray Tracing in Haskell
by appleflaxen on Sunday July 19, 2020 @10:42AM
(#23889672)
i would be interested in follow-up regarding whatever you find.