Posts
Showing posts from February, 2008
DLRScript: use DLR-based languages in the Script tag of a normal HTML Page
- Get link
- X
- Other Apps
An intriguing new project has just surfaced on Codeplex: DLRScript DLRScript is a SilverLight 2.0 sample using the DLR. It lets you use DLR-based languages in the Script tag of a normal HTML (or .aspx, or .jsp or .php, etc.) page. This is an alpha and should work with the Silverlight 1.1 alpha, but is aimed at Silverlight 2 - due to be released (well - a beta anyway) at Mix 2008 shortly. So far it only works with IronPython, but is intended to work with all the DLR languages. It allows you to include scripts (marked with DLRScript) in webpages using Python!
Twining: IronPython DSL for Database Update III - Plus Other Incidentals
- Get link
- X
- Other Apps
MetaDeveloper continues his exploration of IronPython with an update to his DSL for working with databased: Twining: IronPython DSL for Databases Update III Unfortunately Peter Seale includes IronPython in his list of things that he won't be learning ! Mark Ramm has written an interesting entry on the JVM as a Platform for Dynamic Languages which is relevant to IronPython. An interesting debate in the comments follows. I've also found an interesting link from late last year that I don't think I've posted before: on integrating IronPython with Visual Studio 2005 .
Extending Abobe Flash Player and AIR with Python and Ruby
- Get link
- X
- Other Apps
An intriguing blog entry about an Adobe experimental project. It is a C/C++ cross- compiler for the flash player and AIR. This means that you can (will be able to?) cross-compile the Python / Ruby/ lots of other language runtimes and then run them in Flash. The blog entry contrasts this approach to the DLR which requires the re-implementation of dynamic languages - hence IronPython and IronRuby. The project is already beyond proof-of concept, they even have Quake III cross-compiled and running in Flash. Extending Adobe Flash Player and AIR with C/C++ Cross-Compiler Quake 3 has already been ported to managed code , but this is even more impressive. Whether the Python interpreter can be cross-compiled to run on top of another runtime (with completely different basic types), without changing the language semantics at all, has yet to be proved - but it is a very interesting project. (It also means that Python/Ruby will possibly be enabled only by additional optional downloads - but don...
Ironclad 0.1 Released:
- Get link
- X
- Other Apps
William Reade (and an able team of companions from Resolver Systems ) have been working on a project to allow you to use Python C extensions from IronPython. The first release is now available (still very much a work in progress) as a google code project , and you can read the details on my blog: Ironclad 0.1 released: Python C Extensions for IronPython
First Look at Silverlight 2
- Get link
- X
- Other Apps
A preview from Scott Guthrie on what we can expect from the forthcoming beta release of Silverlight 2. First Look at Silverlight 2 Silverlight is the Microsoft browser plugin for creating Rich Internet Applications, and is scriptable with IronPython. Silverlight 2 was previously known as Silverlight 1.1, and the new release (next month) will include rich controls and APIs including network support and threading. Scott's blog says: The Beta1 release of Silverlight 2 is 4.3MB in size, and takes 4-10 seconds to install on a machine that doesn't already have it. Once Silverlight 2 is installed you can browse the Web and automatically run rich Silverlight applications within your browser of choice (IE, FireFox, Safari, etc).
OpenSimulator Python Scripting via realXtend
- Get link
- X
- Other Apps
This is all new to me, but it looks really interesting. This is a blog post introducing the new 'Open Simulator' planet aggregator, and the work of realXtend. Hello World, New features & Introducing RealXtend OpenSimulator is an Open Source Application Platform which can be used for creating immersive 3D Virtual Interactive Environments such as Virtual worlds. According to the blog entry they have had a lot of work contributed by realXtend : Creating an open source platform for interconnected virtual worlds is the goal of realXtend project. We collaborate with OpenSim, OpenViewer and realXtend viewer projects. Their work includes: On the serverside, RealXtend have implemented some nifty features such as Python scripting support (via IronPython)
Techdays 2008
- Get link
- X
- Other Apps
Not everything that is good in the IronPython world happens in the English Language (duh!), but it is only occasionally I can understand enough to post news on non-English events. This one seems straightforward enough though, it is an IronPython talk by Alcides Fonseca at Techdays 2008 in Portugal: Techdays 2008: Dev02
Download Modules on Demand with Resolverforge
- Get link
- X
- Other Apps
Resolverforge implements a ' require ' function that you can place before imports. If the required module is not available then it will be downloaded. A Windows Forms message box is used to ask the user to confirm the download. Resolverforge was implemented for the Resolver One spreadsheet program, but should work fine with any IronPython code where Windows Forms is available. (i.e. not inside ASP.NET!) Resolverforge: Download Modules on Demand This is only a client-side implementation. Currently it fetches individual Python files from a respository on the Resolverhacks site (although the repository it uses is configurable). At some point there will be a companion website for uploading modules to.
Python Mini Benchmark
- Get link
- X
- Other Apps
After the debate on comp.lang.python about Python vs IronPython performance , 'sokoide' has posted a mini-benchmark comparing Python and IronPython (but heed Steve Holden's wise words on benchmarks in the newsgroup thread). It appears to benchmark an implementation of the N-Queens puzzle (although I don't think he has posted the code used). In this benchmark IronPython comes out as a clear winner. Python Mini Benchmark Interestingly Python on Windows appears to do better than Python on Mac OS X. In the past this has been attributed to Visual Studio (the Windows compiler) being optimised for performance where gcc is optimised for portability.
Tenuous Links
- Get link
- X
- Other Apps
A few recent links that are more or less relevant to IronPython... Ruby.NET is dead, long live IronRuby Alex Reich Hypothesises that a Microsoft Yahoo merger might mean more IronPython use Claudio M. E. Bastos Iorio looks at how VB.NET is returning to its roots through the influence of the DLR and IronPython A comp.lang.python discussion on whether IronPython is really faster than CPython The Da Vinci Machine Project is an experimental Java project which is their answer to the DLR (how Sun is furthering dynamic language support on the JVM). " This project will prototype a number of extensions to the JVM, so that it can run non-Java languages efficiently, with a performance level comparable to that of Java itself." Curt Hagenlocher announces a new project that will generate static assemblies from IronPython code, so that classes defined in IronPython can be used from other .NET languages. This will become a CodePlex project, but he has posted some code . Cobra - a new ....
Debugging Memory Problems in IronPython
- Get link
- X
- Other Apps
Kamil Dworakowski has done an update to his post on the " Static Subject to Observer Mapping Anti-Pattern " that was causing a memory leak in Resolver One . This post details the tools and techniques he used to trace the memory leak in an IronPython application. Debugging Memory Problems in IronPython
Hephaestus Games Engine replacing Lua with IronPython
- Get link
- X
- Other Apps
By
hexdump42
-
Pirogoth, one of the developers of the Hephaestus Games Engine , blogs about the decision to change their development languages: IronPython will replace Lua as the scripting language C# will replace C++ The examples of the C++/Lua rendering engine output are amazing, so it will be interesting to see what they can achieve moving to the .NET platform over the coming months. http://torquedev.blogspot.com/2008/02/changes-in-air.html
More from Lang.NET
- Get link
- X
- Other Apps
Lang.NET is now over, but it left a lot of impressed people - particularly the presentations on the DLR and Mono (and Resolver of course). Morning Coffee with Devhawk - who rates Martin's talk on the DLR as the coolest Microsoft talk and was also impressed with Mono and Moonlight and the new Second Life script runner which uses the Mono engine (which should allow second life scripts to be written in IronPython in due course). His take on Resolver: " Creating a spread-sheet based app development environment is one of those ideas that seems obvious in retrospect ". Mig Tamale in da Sim - Miguel is also back from the conference and has a screenshot of Secondlife on Linux: " The work that we are doing on Mono's runtime to support Silverlight (the sandbox system and the hardening of the runtime) is going to enable the use of other programming languages to script components on Second Life ". (He also posted a blog entry commenting on the Mono/Second Life integr...