Saturday, January 24, 2009

IronPython: Old Wine in a New Bottle

MC Press Online has a new article on IronPython by Joydip Kanjilal:
The article is an introduction to using IronPython and interacting with the .NET framework:
Learn how to write simple programs in IronPython and access .NET libraries with IronPython code.

The advent of the IronPython programming language in the managed environment of the CLR provides a lot of benefits, namely these:
  • Support for dynamic typing
  • Support for procedural, functional, object-oriented programming
  • Support for rapid development
  • Support for embedded scripting
  • Support for seamless extendibility
  • Support for accessing .NET managed libraries
  • Support for accessing .NET objects from IronPython script using reflection
The article covers installing IronPython, the interactive interpreter, using .NET assemblies, plus examples with WPF and XML. There are a couple of minor issues with the article: indentation in the code examples is missing and after showing installing IronPython 2.0 it seems to use the IronPython 1 hosting API. Despite these issues it is still a great introduction to IronPython.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.