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
bad_user|12 years ago
https://github.com/lihaoyi/workbench-example-app/blob/ray-tr...
virtualwhys|12 years ago
Assume optimizations will come with time, for now it's pretty cool that one can work in a more or less completely type safe environment on both client and server with Scala.
p.s. muddling along with Coffeescript + GruntJS for the time being, but look forward to working in pure Scala once the library stabilizes.
sixbrx|12 years ago