Friday, February 17, 2012

Expressive Languages for the JVM

Expressive Languages for the JVM Video Clips. Duration : 58.92 Mins.


Google Tech Talk July 28, 2010 ABSTRACT Much has been made of having more expressive languages for the JVM. The recent explosion of interest in alternative JVM languages has shown there's a need for something better. But have Scala, Groovy, Fantom achieved this goal? We'll look at two language cases for the JVM: JRuby, which brings Ruby to the JVM; and Mirah, which attempts to implement Ruby's apparent features directly atop JVM types and code. In each case there have been gains and losses. Ruby often provides beautiful abstractions, but sometimes requires odd things of the JVM that influence performance. The dynamic capabilities are incredibly expressive, but we often need more static structure to enforce typing guarantees or integrate with the platform. On top of all this, much of Ruby's dynamism makes it very difficult to optimize on the JVM. Can we get those features in another way? Mirah may be one answer. It takes as a starting point the "apparent features" of Ruby, and as an end point the basic structures of the JVM, and attempts to tie them directly together. With a fairly simple compiler, Mirah can almost mimic the most common Ruby abstractions, but with static typing guarantees and no runtime library requirements. It provides a Ruby-like way to write Java, the ultimate goal of so many JVM languages. In the end, a combination of the two languages probably leads to truth. But what will that combination look like? Charles Oliver Nutter has been programming most of ...

Keywords: google, tech, talk, java, programming, language, mirah

No comments:

Post a Comment