Faking closures on the JVM isn't as simple as it looks

From JVMLangSummit
Revision as of 17:51, 28 June 2010 by Abuckley (talk | contribs)
Jump to navigationJump to search
Speaker
David Pollak
Project
http://liftweb.net/

Abstract

Scala is a hybrid function/OO language that fully supports and extends Java's object model as well as providing functions that close over current scope. Well, golly gosh, it seems easy at first, but when you dig down, stuff like non-final variables, lazy values and other constructs make closures non-trivial. David Pollak will explore Scala's functions and byte-code that allows the functions to close over current scope.