Posts

Zen of the DLR and DLR Experiences

John Lam has published two sets of slides from the 'compiler dev lab'. Both are on the DLR runtime that is at the heart of IronPython 2, and contain interesting details about Dynamic Languages, the .NET framework, IronPython and the DLR. DLR Experiences (pdf) Zen of the DLR (pdf)

IronPython Cookbook Wiki

I've created an IronPython Wiki, with code examples for .NET and IronPython: Ironpython.info - The Cookbook Wiki There is already some interesting content on there, and hopefully more to come. Feel fre to join in and add your own favourite, silly or useful snippets...

Silverlight Components

In order to implement the Vista Smalltalk environment for Silverlight, Peter Fisk has implemented various support components for Silverlight . These (now) include: TextBox Window Desktop Menu Context Menu ListBox ScrollView And over the next few days, he expects to add: SplitterView TreeView These components should be available for all Silverlight languages (including IronPython of course), which should make it easier to do something practical with Silverlight...

How to download a web page using IronPython

Andrzej Krzywda provides two code snippets for downloading a web page using IronPython and .NET classes. http://andrzejonsoftware.blogspot.com/2007/05/how-to-download-web-page-with.html

Implementing c# style indexers in ironpython

Sunil Pottumuttu provides a code example of howto create a C# style indexer with IronPython. http://www.dotnetspider.com/kb/Article3145.aspx

IronPython in a Virtual Desktop (in a Browser!?!)

The front page of the Vista Smalltalk Website is currently showing a screenshot of IronPython running on the Virtual Desktop - inside a web-browser ... This looks like a very interesting test and development environment for IronPython on Silverlight. The code shown illustrates using some of the core-CLR assemblies from IronPython, plus it benchmarks " a million iterations involving assignments in just over two seconds (3GHz Pentium) - this is orders of magnitude faster than traditional JavaScript ". 'Orders of magnitudes faster' sounds good for web applications, but I have no idea how this compares to the upcoming alternatives... The code isn't available yet, and I'm not sure what you'll be able to do with it (although as a testing and experimentation environment it could be awesome), but it certainly looks cool!

IronPython and .NET 3.5

The Lazy Coder presents a (terse) report on using IronPython with .NET 3.5: .Net 2.0 to 3.5 conversion notes

Building a Second Life Bot

Second Life Insider has an interesting article (by Tateru Nino) on building a bot in Second Life - using libsecondlife and IronPython! Under The Grid - Building a simple bot in ironpython

IronPython TechEd Talks

There are several IronPython focussed talks at the Teched Conference: IronPython at TechEd These include: WEB06-TLC - Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET DEV315 - "IronPython" and Dynamic Languages on .NET WEB324 - Dynamic Languages on the Web TechEd 2007 is a Microsoft developer conference, in Orlando June 4th - 8th.

IronPython and PyFit

Steve Gilham posts some work-arounds for using the PyFit module with IronPython 1 and 2: IronPython and PyFit

Silverlight and the Compiler Lab

Miguel de Icaza continues his report from the Microsoft Compiler Lab (on the DLR): Compiler Lab: Second Day Interesting snippets about the DLR. Miguel's blog has been added to Planet IronPython , so you can keep up with the (Mono) Moonlight implementation of Silverlight there. Meanwhile, Peter Fisk has ' Vista Smalltalk ' running on Silverlight (and in the browser): Smalltalk in Silverlight (Which also works on the Macintosh ) You can try it yourself at: Vista Smalltalk Silverlight Test

Enumerating Windows Media Player library Contents

Saveen Reddy has a blog entry illustrating how to enumerate your Windows Media Player library contents, using both Powershell and IronPython: Enumerating Windows Media Player library Contents (Actually this entry doesn't work as it stands - there is a corrected version on the IronPython Cookbook .)

Moonlight: Silverlight on Linux

Work on the Linux port of Silverlight (by the Mono team) is well underway. The project page shows the state of the project, the work needing to be done, and a discussion of some of the issues: Moonlight Miguel de Icaza has been prototyping some ideas for the video streaming and graphical aspects of Silverlight, and has a report on the DLR presentation from the first day of 'Compiler Lab': Moonlight, Trivial Video and Canvas

Silverlight for Mac Designers

Not strictly (just) about IronPython, this blog entry by Don Burnett is about Silverlight development tools on the Mac: Silverlight for Mac Designers

IronPython Community Edition: Sixth Release

There is a fresh release of the IronPython Community Edition (FePy) FePy Download Page FePy Homepage Changes in this release: IronPython Updated to IronPython 1.1. Libraries Huge improvements to AST support. Support inspect.getargspec(). Pickle integration with .NET Serialization. platform module that can handle IronPython. (Anthony Baxter) Implement os.access(). (Rachel Hestilow) Bundles pybench benchmark (thanks to platform module). pyflakes code checker (thanks to AST support). wsgiref synced to 2.5.1. Patches You can read the summary of applied patches here. http://fepy.sourceforge.net/patches.html New in this release: patch-ironpython-import-hack

IronPython 2 Performance on Different Platforms

In the DLR Talk at Mix '07 , Jim Hugunin claimed a 12% improvement in performance between IronPython 2 and IronPython 1. Seo Sangyheon ran some tests, and discovered that IronPython 2 is either faster or slower; depending on what platform it runs on ... IronPython 2 compared to IronPython 1: Mono 1.2.4+: -32% Whidbey: -21% WinFX: +6% MIX07 (Orcas?): +12% This shows that IronPython 2 makes heavy use of some of the improvements in recent versions of the CLR runtime.

IronPython 2 Really Works on Mono

Perhaps the earlier post was premature, but either way - IronPython 2 (and the DLR) really works on Mono now: Hello, Dynamic Language Runtime-enabled World! Includes amusing IRC transcripts around the subject and some cool pictures of penguins...

DLR Implementation: Language Trees

Jim Hugunin has posted another blog entry: DLR Trees (Part I) This is about how the DLR builds language trees (an AST or CST I guess?) for representing dynamic languages. These are unlike the trees that C# compilers use because they are untyped (and unbound). "The value of having dynamic languages target this tree form is that we can perform lots of optimizations in the DLR layer on behalf of the language implementations."

A Simple HTTP Server

An article on creating a Simple HTTP Server with IronPython and the HttpListener class: Simple HTTP Server in IronPython This article also touches on various parts of the .NET framework, including text encoding, asynchronous callbacks, URI and XHTML escaping, and creating a simple Windows Forms dialog.

Silverlight and an IronPython Bouncing Ball

The first implementation of something useful with IronPython and Silverlight. Yup, it's a bouncing ball: Bouncing Ball in IronPython Aaron Leiby has made the sourcecode available to play with.