Invokedynamic and Jython

invokedynamic and Jython

Jeremy Siek jeremy.siek@colorado.edu

Jim Baker jim.baker@

Shashank Bharadwaj shashank.bharadwaj@colorado.edu

Department of ECEE, University of Colorado, Boulder

Jython Ubuntu Server Team

invokedynamic and Jython ? 1 of 41

Outline

? What is Jython? ? Call-site specialization ? Iterator Expression Transformation

invokedynamic and Jython ? 2 of 41

Outline

? What is Jython? ? Call-site specialization ? Iterator Expression Transformation

invokedynamic and Jython ? 3 of 41

What is Jython?

Jython is an implementation of the Python Programming Language that compiles to JVM bytecode. Jython 2.6 will:

? support for Python 2.6 ? run only on Java 6+ ? improve performance by using invokedynamic

invokedynamic and Jython ? 4 of 41

How is Python compiled to Java Bytecode?

Consider the statement: print a + b + c

invokedynamic and Jython ? 5 of 41

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download