Logo     Photos

17 Member(s) Online

PyCon is a 100%
Volunteer-run
Conference Organized by
Members of the
Python
Community.

Site/Questions etc ?

Valid XHTML 1.0 Transitional

Valid CSS!

PyCon 2007 is sponsored
in part by
Zenoss - The Next Step in IT Management Google Microsoft .Net Framework EWT LLC Enthought, Inc. ITA Software
Platinum
Wingware Python IDE Accense Technology, Inc.
Gold
Quality Vision International Inc. MerchantCircle Big Nerd Ranch, Inc. High Speed Rails Canonical ZeOmega -- Open Minds' Open Solutions Open Source Applications Foundation CCP Games Tummy.com - we do linux AG Interactive ActiveState - Dynamic Tools for Dynamic Languages
Silver
Python411 Podcast Series O'Reilly Media, Inc.
Media

Compiling Python via OCaml

Presenter: Raj Bandyopadhyay <rajb@rice.edu>

Author: Raj Bandyopadhyay, Walid Taha, Ken Kennedy, (rajb,taha,ken).AT.rice.edu

Affiliation: Rice University

ABSTRACT

Dynamic languages like Python have gained significant popularity in mainstream programming. To support their dynamic features, they are often interpreted. In scientific computing applications, this works well for prototyping, but often means that significant efforts must later be invested in building the "real" application. Our thesis is that dynamic languages like Python can be effectively compiled by translation to statically typed functional languages like OCaml. Not only that, but this approach is highly amenable to formal verification. This, in fact, entails developing a formal semantics for the dynamic language. The talk describes ongoing efforts to demonstrate this strategy in the concrete case of compiling Python using OCaml. After explaining why statically typed functional languages like OCaml may play an important role in compiling dynamic languages, we describe our progress to date in understanding the semantics of Python and in devising a correct translation into OCaml. At the time of writing this abstract, preliminary performance measurements were quite encouraging.

Raj Bandyopadhyay is a graduate student at Rice University, working with Dr. Ken Kennedy and Dr. Walid Taha.

Content Last Modified: January 28, 2007, at 08:48 PM