Sunday, September 30, 2007
Python Implementations Matrix
This is a great idea, but is far from being complete.
IronPython on Microsoft.com
- IronPython Samples - Examples of how to integrate a new language with various aspects of Visual Stdio (from compiler tasks to syntax highlighting to deployment)
- Microsoft Robotics Centre - Three tutorials on using Microsoft Robotics with IronPython
- Sho: I've found various references to Sho as a "an interactive language for scientific computing based on IronPython". I can't find a website for it, but one of the pages it is mentioned on is the page of Sumit Basu
- Comparing & Managing Multiple Versions of Slide Presentations (pdf) - Research project on managing slide presentations, that used IronPython
- Common Language Runtime: IronPython and .NET Scripting Languages - A video presentation by Mahesh Prakriya (lead manager of the CLR team)
- 2006 Lang.NET Symposium: IronPython and Beyond - A presentation by Jim Hugunin
- Developing Agile but Rich Client Applications with Python - a webcast by Mahesh
IronPython in Action: Chapter 5 & 6 Available
Men of Iron Podcast
The interviews were both done at Mix UK.
Friday, September 28, 2007
The IronPython 2 Hosting API
Inside IronRuby
Thursday, September 27, 2007
Resolver: The IronPython Spreadsheet
Entering formulae into a spreadsheetis a form of functional programming, and is overwhelmingly the most common form of 'end user programming' there is. Jon feels that Resolver has something new to offer in this area.
The clr Module
Wednesday, September 26, 2007
IronPython: Grab the .NET Type
IronPython/Mono Benchmarks
Monday, September 24, 2007
IronPython: My .NET Exploration Tool
Sunday, September 23, 2007
A Collection of Links
Finding the 'greatest common divisor' and fibonaci using IronPython.
Making .NET applications scriptable with IronPython.
Working with the 'Team Foundation Server' through the IronPython interactive interpreter.
A script for interactively working with Oracle. The text is in German, but the code looks straightforward.
And some news that is related to IronPython:
Oh, and I don't think I posted a link here to my set of articles / downloads / online examples for IronPython and Silverlight:
Wednesday, September 19, 2007
CLR Inside & Out: Article on the DLR
Sunday, September 16, 2007
Microsoft Knowledge Tools
To make research progress, we build prototype tools and get them into the hands of these types of users. We build many of our prototype tools on top of IronPython, a version of Python for .NET.
Python is like a virus, once it infects one part of a company it spreads everywhere...
Sunday, September 09, 2007
Managed DirectX via IronPython
Introduction to IronPython and Silverlight
This goes through creating a minimal IronPython application for Silverlight and explores the Silverlight APIs. The Web IDE has also been updated and now has several examples built-in. More details to follow, but for the moment:
IronPython in Action
This means that you get access to the book as it is being written (and get the chance to point out our mistakes!).
The first five chapters (the fifth should be added in the next few days) are an introduction to .NET, a Python tutorial, and then a walk through an example structured Python application illustrating both the Python language and aspects of the .NET framework.
The rest of the book is going to be much more 'recipe style' and cover a wide range of aspects of .NET (ASP, databases, web services, working with Windows and so on), deeper into Python (testing, protocols, metaclasses and so on) and also embedding and extending IronPython.
Make Twitter Talk with IronPython
IronPython 2.0 Alpha 4 Released
The most significant changes in this release include:
• Completion of the –X:Interpret mode and its incorporation into the eval and exec functions
• The addition of the -X:PreferComDispatch mode
• Improved performance for the itertools module and the importing of CLR-based modules
• A number of bug fixes
Like previous Alpha releases, quite a bit of refactoring work has been completed and this process is still ongoing. In particular, effort has been put into making .NET interoperability easier for language implementers on the DLR.
-X:PreferComDispatch enables direct support for IDispatch COM objects, and includes support for indexers and output parameters in IDispatch-based calls. This will improve IronPython’s integration with IDispatch-based COM APIs such as in Microsoft Office.
Some of the notable bug fixes included in this release are:
• _iter_ is now available for all iterable .NET objects with the exception of System.String (CPython’s string type does not support this)
• isinstance now works on interfaces
• fixed null reference exception when attempting to read a write-only (.NET) property
• fixed invalid IL generated for Python code similar to ‘System.IComparable.CompareTo(1,1)’,
Thursday, September 06, 2007
Semantic Password Generator
Sources and documentation are available.
Wednesday, September 05, 2007
SharePoint, IronPython, and another lesson in the virtue of laziness
I’m doing an internal project that involves reading several different data sources from a SharePoint 2007 server, merging them, and posting the merged data back to the server. Being lazy, I wanted to use IronPython, write as little code as possible, and do everything dynamically.
Embedding IronPython in a Silverlight (C#) Application
It means a bit of extra boilerplate code, but hopefully before Silverlight 1.1 final this code will have moved into the DLR and all will be rosy again...
Oh, and by the way... IronRuby is now Live on RubyForge. John Lam has build instructions and news on the latest updates on his blog.
Minimise a Winforms Application to the System Tray
Silverlight 1.0 Released, Plans for 1.1, and Microsoft / Novell Officially Collaborate on Silverlight for Linux
Silverlight 1.0 has just been released and Scott Guthrie has outlined the plans for Silverlight 1.1:
Now that Silverlight 1.0 is out the door, my team is cranking hard on our Silverlight 1.1 release.
Silverlight 1.1 will include a cross-platform version of the .NET Framework, and will enable a rich .NET development experience in the browser. It will support a WPF programming model for UI - including support for an extensible control model, layout management, data-binding, control skinning, and a rich set of built-in controls. It will also include a subset of the full .NET Framework base class library you use today, including support for collections, generics, IO, threading, globalization, networking (including sockets, web-services and REST support), HTML DOM, XML, local storage, and LINQ.
You'll be able to use any .NET language to develop a Silverlight application (VB, C#, JavaScript, Python, Ruby, Pascal, and more). It is going to really open up a lot of new development opportunities.
Silverlight currently supports Windows and Mac OS. The Mono team have been working hard on a 1.1 compatible release that supports Linux, called Moonlight.
Microsoft have now decided that this will be the 'official' way that Linux is supported and are collaborating with the Mono team on Moonlight:
The highlights of the collaboration are:
- Microsoft will give Novell access to the test suites for Silverlight to ensure that we have a compatible specification. The same test suite that Microsoft uses for Silverlight.
- Microsoft will give us access to the Silverlight specifications: details that might be necessary to implement 1.0, beyond what is currently published on the web; and specifications on the 1.1 version of Silverlight as it is updated.
- Microsoft will make the codecs for video and audio available to users of Moonlight from their web site. The codecs will be binary codecs, and they will only be licensed for use with Moonlight on a web browser (sorry, those are the rules for the Media codecs).
- Novell will implement Silverlight 1.0 and 1.1 and will distribute it for the major Linux distributions at the time of the shipment. We will offer some kind of one-click install for Linux users (no "Open a terminal and type su followed by your password..." as well as RPM and DEB packages for the major distros and operating systems.
An important part of developing websites that use Silverlight is the desgn tool Expression Blend. There are free betas of this available, but it is a commercial product and is not cross-platform.
The Mono team are also developing a desgn product, called the Moonlight Designer.
Saturday, September 01, 2007
Bug in IronPython Visual Studio Integration
Why can't I show the "Add New Items" dialog in a WPF flavored project?
IronPython and Silverlight Resources
IronPython and Silverlight Resources