Dynamic Languages on the JVMPresentation Transcript
Dynamic Languages on the JVM Groovy, Grails, JRuby, and JRuby on Rails Matt Stine Memphis/Mid-South JUG October 18, 2007
"Dynamic programming language is a term used broadly in computer science to describe a class of high level programming languages that execute at runtime many common behaviors that other languages might perform during compilation, if at all. These behaviors could include extension of the program, by adding new code, or by extending objects and definitions, or by modifying the type system, all during program execution. These behaviors can be emulated in nearly any language of sufficient complexity, but dynamic languages provide direct tools to make use of them." - Wikipedia
Examples of Dynamic Languages:
Created by Yukihiro “matz” Matsumoto
First released in 1995
Currently at version 1.8.6
http://www. ruby-lang .org
Project founded by James Strachan and Bob McWhirter in 2003
Became JSR-241 in 2004
Currently at version 1.1-RC-1
http://groovy. codehaus .org
DL Quick Feature Tour
Absolutely everything is an object – no primitives!
7.class => java.lang.Integer
Lots of syntactical sugar for lists, maps, ranges, regular expressions, etc.