py con 2009 pumping iron into python

Post on 15-May-2015

783 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

My IronPython on Mono talk from PyCon 2009

TRANSCRIPT

Pumping Iron into Python: Intro to FePy

Sarah DutkiewiczThe Coding Geekette

www.codinggeekette.com

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.

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

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

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

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…

IronClad

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

IronClad Targets

• numpy 1.2

• scipy 0.7

• matplotlib

• bz2 from Python 2.5

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

Multi-threading + Multi-core procs =

CPython IronPython

Introducing Mono

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

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

Resolver One

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)

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/

PyOhio 2009

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

Contact Information

Blog: http://www.codinggeekette.comEmail: sarah@codinggeekette.com

top related