Posts
Showing posts from March, 2008
IronPython, Silverlight and the DLR
- Get link
- X
- Other Apps
Various recent blog entries on IronPython, Silverlight and the DLR: IronPython and Silverlight 2 Tutorials, Demo and Dwnloads - I've turned my PyCon talk on 'Python in the Browser' into a series of articles with online demos and downloads. This includes a Web IDE for experimentation and an Interactive Interpreter in the Browser . PyCon: IronPython the Road Ahead - Shannon -jj Behrens presents a short writeup of Jim Hugunin's talk at PyCon about the road ahead for IronPython. DLR Beta 1 - Martin Maly talks about the first beta of the Dynamic Language Runtime included in IronPython 2.0 Beta 1. IronPython and UI Automation - Shri Borde blogs about a problem with using the .NET 3 UI automation APIs from IronPython. Ironclad Overview - A short(-ish) overview of the Resolver Systems Ironclad project which aims to get CPython C-extensions working with IronPython. IronPython and the DLR Marches On - Scott Hanselman presents a list of resources on IronPython, IronRuby and...
Build your Own Language and IronPython DSL Update
- Get link
- X
- Other Apps
Two new articles: IronPython DSL for Databses Update V - Another update to David Seruyange's IronPython DSL for working with databases. His target is to end up with a DSL that lets him write "database('excel').tables('sheet1').copyto.database('mydb')". DLR - Build Your Own Language - A Bitwise article on using the Dynamic Language Runtime and the ANTLR parser to create your own language.
NWSGI and subprocess
- Get link
- X
- Other Apps
In the last few days there have been two announcements about modules for IronPython: NWSGI - a 0.1 binary release of a C# WSGI implementation. It comes with a 'Hello World' application, works with simple paste applications and almost works with CherryPy! It is very simple to deploy with IIS 7. Subprocess for IronPython . The subprocess module is one of the biggest gaps in IronPython standard library support (this is the biggest reason that SCons can 't easily be got running on IronPython for example). This implementation (based on System.Diagnostics.Process ) has limitations, but passes around 2/3 of the test suite for subprocess. The good news is that one of the things that Dino was working on during the PyCon sprints, was better subprocess support for Django. The 'soon-to-be-IronPython-commander-in-chief', Harry Pierson, has blogged a simple way to launch the Visual Studio development server for experimenting with NWSGI .
Silverlight 2: Dynamic Silverlight
- Get link
- X
- Other Apps
The new release of Silverlight has shiny new controls and a new way of packaging dynamic applications. You can read about the new release in my blog entry, and download the dynamic languages SDK (and access other resources) through the Dynamic Silverlight website: Dynamic Silverlight Silverlight 2: The Good, the Bad and Everything Else
IronPython 2.0 Beta 1
- Get link
- X
- Other Apps
IronPython 2 is finally out of alpha! The first beta has just been released. Download IronPython 2 Beta 1 2.0b1 Release Notes There is a huge list of minor bugs and issues fixed in this release. The 'headline' changes for this release are: PEP 328, absolute and relative imports, has been implemented PEP 302, new import hooks, has been implemented Numerous Python dictionary improvements ‘sys’ is now a real builtin module Test projects for IronPython .NET (ClrAssembly) and COM interop (DlrComLibrary) support have been added to the ‘Src\Tests’ directory within the source zip file More improvements to the –X:PreferComDispatch flag If you were missing the fantastic DLRConsole demo for the new Silverlight 2 release, then good news. Yesterday 'the team' (actually Jimmy Schementi I think - who is one of the few IronPython devs who isn't at PyCon) uploaded an updated version to the Dynamic Silverlight site: DLRConsole Demo for Silverlight 2 .
Bazaar on IronPython
- Get link
- X
- Other Apps
One difference between the JRuby project and IronPython is that JRuby has an obvious and large project to target for compatibility testing. If JRuby runs Rails well, then it is almost certainly a good implementation of Ruby... There is no such ubiquitous project to demonstrate Python compatibility (which is a testament to the diversity of Python usage of course). There have been some people who have got Django working with IronPython (which could be a great use case for IronPython) but it would be nice to hear more noise on the IronPython mailing list about the difficulties encountered. One large Python project is the Bazaar Distributed Version Control System . There has been at least some attention paid to looking at IronPython compatibility: Bazaar on IronPython
IronPython Cookbook: New Entries and Python.NET
- Get link
- X
- Other Apps
Feihong Hsu (who is doing a talk on Python.NET at PyCon 2008 ) has added several new entries to the IronPython Cookbook . He has also updated more entries to make them compatible with Python.NET (or adding notes on ones that aren't compatible with Python.NET). New entries: Getting Images from the Clipboard Creating Multiframe TIFF Image Files Using the Webbrowser Widget Preview all Installed Fonts Basic Handwriting Recognition Preview all Installed Voices Speech Recognition WPF GUI Using XamlReader Those of you interested in trying Python.NET with .NET 2.0 SP1 may be interested in this blog entry by Feihong Hsu (with Windows Forms example code) on a Python.NET patch (with binaries) to make it work. Jeff Hardy has also been attempting to get SCons working with IronPython. He hasn't succeeded yet, but has written up his progress in the cookbook: SCons on IronPython .
IronScheme Release and New Codeplex Project: Coils
- Get link
- X
- Other Apps
There is a fresh release of IronScheme (an R6RS compliant Scheme implementation built on the Dynamic Language Runtime). This release is 1.0 Alpha 2. There is also IronScheme support in the XACC IDE . IronScheme Homepage There is a new project listed on Codeplex: Coils . Coils takes IronPython classes and generates static wrappers for them so that they can be used from other .NET languages (like C# and VB.NET). Coils doesn't translate the Python code, but generates a wrapper class that calls back into the IronPython engine. There is no official release on the Codeplex site yet, but the source code is available.
PyCon Python and .NET Open Space
- Get link
- X
- Other Apps
Feihong Hsu, who is speaking at PyCon on Python.NET, is organising a 'Python and .NET' open spaces event. This is for IronPython and Python.NET users and anyone interested in Python and .NET. Python and .NET Open Space Wiki Page It is too early to book a definite room/time - but he is thinking about Saturday night (March 15th) from around 7:00 to 8:30pm. See you there! He is also keen (and I think that it is an excellent idea), that as many people as possible involved in Python and .NET do lightning talks. I will be attempting to get together a lightning talk on the Resolver Systems 'Ironclad' project. Interesting subjects would be projects like Coils and Ironclad and languages like Boo and Cobra.
IronPython has Serious Competition: Sun Hires Ted Leung and Frank Wierzbicki
- Get link
- X
- Other Apps
In September 2006 Sun hired two JRuby developers to improve the story of dynamic languages on the JVM. This was seen by many as both long overdue and a response to Microsoft developing IronPython (and the Dynamic Language Runtime) for .NET. As Jython has been around for longer than JRuby, many in the Python community wondered why Sun weren't supporting Python. Finally they have answered, by hiring Ted Leung and Jython lead developer Frank Wierzbicki. On his blog Ted says: "there will be at least two of us working on Python related stuff. That includes Jython, Python support for Netbeans, and some other stuff that we haven’t quite figured out yet. We definitely will be looking for things that we can do to support CPython and the Python language as a whole. This is not just about Python on on the JVM. Sun will try to make its platforms, OpenSolaris and the JVM, the best place to develop and deploy Python applications." Frank says: Sun Microsystems has hired me to work f...
Setting Up the Silverlight DLRConsole on Apache
- Get link
- X
- Other Apps
The DLRConsole lets you execute Python code in the browser. Silverlight 2 may be just around the corner, but this blog entry shows you how to configure Apache to correctly serve the current version (for Silverlight 1.1): Setting Up the Silverlight DLRConsole on Apache To be fair, these instructions will probably still be valid for the 2.0 version. Let's hope the DLRConsole is updated quickly to work with Silverlight 2!
Variations on Trees
- Get link
- X
- Other Apps
Martin Maly (one of the chief architects of the DLR) has written another blog entry on creating dynamic languages with the Dynamic Language Runtime. This entry is a comparison of DLR trees (the ASTs used by the DLR to represent dynamic language programs) with LINQ Expression Trees. LINQ Expression Trees can be generated by the C# compiler from expressions that look a bit like list comprehensions. Unfortunately there is no built-in compiler support (yet...) for generating DLR Trees directly, but they are very similar: Variations on Trees