Title
High-Performance Scripting with Kawa
Description
Scripting languages may be an order of magnitude slower than Java. Kawa is a mature language (from 1996) in the Scheme family. It has eval and REPL, avoids syntatic boilerplate with a flexible and extensible syntax, has no required compilation step, and makes typing optional. Yet benchmark programs run about as fast as Java. This presentation discusses the properties that enable fast execution (including lexical scoping and optional typing) and shows how to write efficient code.
The Kawa compiler performs sophisticated data flow analysis that enables type inference and other optimizations and detects many errors at compile time. In spite of this, compilation is so fast that it is normally unnoticed, which is important for the scripting experience.
Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.
There are no comments.
Login to respond »