Skip to content

Optimizing Smallpt: Haskell Exchange reference data

License

Notifications You must be signed in to change notification settings

bollu/smallpt-opt

Repository files navigation

The origiona smallpt.cpp written by Kevin Beason is a 99 line ray tracer writen in C++. As a minimmal ray tracer it is often ported to different languages. This is a cleanup and optimization of the Haskell port done by noteed (Vo Minh Thu) .

This repository serves an education purpose; the commit history depicts the sequence of optimizations one might perform on the initial source code to arrive at a version that is performance-comparable with C++.

This repository was used for a talk at Haskell Exchange 2020. Slides based on the commits in this repo are available.

About

Optimizing Smallpt: Haskell Exchange reference data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published