Derek Young has kindly ported the first Java implementation of our ray tracer language comparison to two alternative languages that both also target the JVM.
Interestingly, the Scala translation is not only shorter than the equivalent Java but also slightly faster. The same correlation is seen on .NET, where F# is often slightly faster than C# because it can perform valuable high-level optimizations not exposed by lower-level languages like C#, e.g. optimizing pattern matches.
Interest in Scala continues to grow and we are considering writing a Scala for Scientists book, following our OCaml for Scientists and F# for Scientists books. If you would like to learn about technical computing using Scala then please show your support by commenting on this blog post.