Archive for the ‘IronPython’ Category

Specification of rich comparison protocol use by the Python standard library

March 12th, 2011 No comments

Tweet I’m in the process of writing some code which ideally would work unchanged on CPython 2.x, CPython 3.x IronPython 2.x and Jython 2.x. Given the nature of the code I’m writing, that seems eminently possible with very few workarounds. One of the changes between Python 2 and Python 3 was the removal of the […]

Categories: computing, IronPython, Python, software Tags:

OWL BASIC produces its first executable

August 4th, 2009 7 comments

Tweet After a long haul, and diversions into other more important projects — including starting a family — OWL BASIC today produced its first executable. Its not much. In fact its hardly anything. Just 2048 bytes of Windows PE executable containing the global variable declarations from Acornsoft’s 1982 Sphinx Adventure. Each file of BASIC source […]

Categories: .NET, computing, IronPython, OWL BASIC, Python Tags:

String compatibility between Python implementations

June 18th, 2009 3 comments

Tweet Jython and IronPython run on platforms where strings are unicode capable by default. Both implementations have chosen to make str essentially an alias for unicode in Python source code. The bytes type, introduced in PEP358 as part of transition to fully unicode Python 3.0, is unambiguously a sequence of single byte values. We can […]

IronPython hammers CPython when not mutating class attributes

May 22nd, 2009 6 comments

Tweet Earlier today I posted the second article in what is turning out to be a short series in the investigation into why the performance of IronPython is around 100× slower than CPython, when running the front-end of my OWL BASIC compiler. The most informative comment was from Curt Hagenlocher who works on IronPython in […]

Categories: .NET, computing, IronPython, Jython, Python, software Tags:

IronPython 2.0 and Jython 2.5 performance compared to Python 2.5

IronPython 2.0 can be hundreds of times slower than CPython on some microbenchmarks. Jython 2.5 can scale better than CPython on those same benchmarks.