|
|
|
|
|
by adamlj
4453 days ago
|
|
I find it interesting to compare this compiled JS to the tiny recursive Ray Tracer previously posted here on HN [0]. This Scala->JS compilation is 214k characters while the tiny Ray Tracer is at <1k characters. It should be noted that the tiny Ray Tracer is heavily optimized and minified. [0] http://www.gabrielgambetta.com/tiny_raytracer.html |
|
https://github.com/lihaoyi/workbench-example-app/blob/ray-tr...