py con 2009 pumping iron into python

18
Pumping Iron into Python: Intro to FePy Sarah Dutkiewicz The Coding Geekette www.codinggeekette.com

Upload: sarah-dutkiewicz

Post on 15-May-2015

783 views

Category:

Technology


1 download

DESCRIPTION

My IronPython on Mono talk from PyCon 2009

TRANSCRIPT

Page 1: Py Con 2009   Pumping Iron Into Python

Pumping Iron into Python: Intro to FePy

Sarah DutkiewiczThe Coding Geekette

www.codinggeekette.com

Page 2: Py Con 2009   Pumping Iron Into Python

What is IronPython?

IronPython is the open source .NET implementation of the Python programming language, giving Python programmers the benefits of the .NET libraries while still maintaining compatibility with CPython.

Page 3: Py Con 2009   Pumping Iron Into Python

What is .NET?

The .NET Framework is Microsoft's comprehensive and consistent programming model for building applications that have visually stunning user experiences, seamless and secure communication, and the ability to model a range of business processes.

- Taken from the Microsoft .NET Framework Home Page

Page 4: Py Con 2009   Pumping Iron Into Python

FePy

What is FePy?

FePy, in terms of this presentation, represents two things:

•A play on the name Iron (Fe) and Python (Py)•A project on Sourceforge that provides add-ons and enhancements to IronPython

Page 5: Py Con 2009   Pumping Iron Into Python

FePy and IPCE

• FePy– Provides add-ons and enhancements for

IronPython

• IronPython Community Edition (IPCE)– FePy and some third party add-ons are

included– Included in Mono, as of Mono 1.2.3

Page 7: Py Con 2009   Pumping Iron Into Python

IronPython vs CPython

IronPython CPython

Previous Version 1.1 2.4

Current Stable IronPython Version 2.0 2.5

Base Language C# C

This base language difference leads to issues with IronPython and Python libraries written in C. However…

Page 8: Py Con 2009   Pumping Iron Into Python

IronClad

Open source project sponsored by Resolver Systems to reimplement the Python C API

Page 9: Py Con 2009   Pumping Iron Into Python

IronClad Targets

• numpy 1.2

• scipy 0.7

• matplotlib

• bz2 from Python 2.5

• _hashlib, _elementtree, _socket, _ssl, winsound from Python 2.5

Page 10: Py Con 2009   Pumping Iron Into Python

Multi-threading + Multi-core procs =

CPython IronPython

Page 11: Py Con 2009   Pumping Iron Into Python

Introducing Mono

Mono is a cross-platform, open source implementation of the .NET development framework.

Page 12: Py Con 2009   Pumping Iron Into Python

More on Mono

Features:

• Common Language Infrastructure virtual machine with a class loader, JiT compiler, and garbage collector

• Class library to work with any language that runs on the CLR

• C# compiler

Page 13: Py Con 2009   Pumping Iron Into Python
Page 14: Py Con 2009   Pumping Iron Into Python

Resolver One

Page 15: Py Con 2009   Pumping Iron Into Python

Something to Read

http://www.ironpythoninaction.com

I recommend technical books typically based on their reference value, as I usually get bored within the first few sentences and end up turning them into references rather than reading through them. This book, however, was one that I read cover-to-cover...Overall, I would recommend IronPython in Action for anyone wanting to learn IronPython.

– Sarah DutkiewiczThe Coding Geekette (reviewed for Manning Publications)

Page 16: Py Con 2009   Pumping Iron Into Python

Web References

• Official IronPython Site: http://www.codeplex.com/ironpython

• IronPython Cookbook: http://www.ironpython.info

• The Voidspace Techie Blog: http://www.voidspace.org.uk/python/weblog/

• DevHawk’s Blog: http://www.devhawk.net/

• The Mono Project: http://mono-project.com

• FePy and IPCE http://fepy.sourceforge.net

• IronClad: http://code.google.com/p/ironclad/

• Resolver Systems: http://www.resolversystems.com/

• Resolver Hacks: http://www.resolverhacks.net/

Page 17: Py Con 2009   Pumping Iron Into Python

PyOhio 2009

What: A mini-conference on PythonWhen: July 25 – 26, 2009Where: Columbus, OHMore info: http://www.pyohio.org

Page 18: Py Con 2009   Pumping Iron Into Python

Contact Information

Blog: http://www.codinggeekette.comEmail: [email protected]