Unladen Swallow

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Unladen Swallow
Developer(s) Unladen Swallow Team[1]
Stable release 2009Q3 / October 20, 2009; 5 years ago (2009-10-20)
Written in C++
Platform Cross-platform
Type Python Programming Language Interpreter
License Python Software Foundation License
Website Unladen Swallow at Google Code

Unladen Swallow was an optimization branch of CPython, intended to be fully compatible and significantly faster. It aimed to achieve its goals by supplementing CPython's custom virtual machine with a just-in-time compiler built using LLVM.

The project had stated a goal of a speed improvement by a factor of five over CPython;[2] this goal was not met.[3]

The project was sponsored by Google, and the project owners, Thomas Wouters, Jeffrey Yasskin, and Collin Winter, are themselves full-time Google employees,[4] however the majority of the contributors to the project are not Google employees. Unladen Swallow is hosted on Google Code.[5]

Like many things regarding the Python language, "Unladen Swallow" is a Monty Python reference, specifically to the gag about the airspeed velocity of unladen swallows in Monty Python and the Holy Grail.

Achievements[edit]

Although it fell short of all published goals, Unladen Swallow did produce some code which got added to the main Python implementation, such as the cPickle module.

Project activity[edit]

In July 2010, some observers speculated on whether the project was dead or dying, since the 2009 Q4 milestone had not yet been released.[6] The traffic on Unladen mailing list had decreased from 500 messages in January 2010, to fewer than 10 in September 2010.[7] It has also been reported that Unladen lost Google's funding.[8] In November 2010, one of the primary developers announced that "Jeffrey and I have been pulled on to other projects of higher importance to Google".[9]

The 2009 Q4 development branch was created on January 26, 2010[10] but no advertising was made on the website. Furthermore, regarding the long-term plans and as the project missed the Python 2.7 release, a PEP[3] was accepted, which proposed a merge of Unladen Swallow into a special py3k-jit branch of Python's official repository. As of July 2010, this work was ongoing.[11] This merging would have taken some time, since Unladen Swallow was originally based on Python 2.6[12] with which Python 3 broke compatibility (see Python 3000 for further details). However, the PEP was subsequently withdrawn.

In early 2011 it became clear that the project was stopped.[13]

Milestones[edit]

  • 2009 Q1[14]
  • 2009 Q2[15]
  • 2009 Q3 and beyond: reduce memory usage, improve speed[16]

References[edit]

  1. ^ http://code.google.com/p/unladen-swallow/people/list
  2. ^ Paul, Ryan (2009-03-26). "Ars Technica report on Unladen Swallow goals". Arstechnica.com. Retrieved 2011-08-19. 
  3. ^ a b Winter, Collin; Yasskin, Jeffrey; Kleckner, Reid (2010-03-17). "PEP 3146 - Merging Unladen Swallow into CPython". Python.org. 
  4. ^ "People working on Unladen Swallow". Retrieved 2009-09-29. 
  5. ^ "Unladen Swallow project page". Code.google.com. Retrieved 2011-08-19. 
  6. ^ "Message on comp.lang.python". Groups.google.com. Retrieved 2011-08-19. 
  7. ^ "Unladen Swallow | Google Groups". Groups.google.com. Retrieved 2011-08-19. 
  8. ^ "reddit post by an Unladen committer". Reddit.com. 2010-06-24. Retrieved 2011-08-19. 
  9. ^ Winter, Collin (November 8, 2010). "Current status of Unladen-Swallow". Google. 
  10. ^ "2009 Q4 release branch creation". Code.google.com. 2010-01-26. Retrieved 2011-08-19. 
  11. ^ "Developers focus on merge into py3k-jit". Groups.google.com. 2010-07-13. Retrieved 2011-08-19. 
  12. ^ "Unladen Swallow baseline". Python.org. Retrieved 2011-08-19. 
  13. ^ Kleckner, Reid (26 March 2011). "Unladen Swallow Retrospective". QINSB is not a Software Blog (qinsb.blogspot.com). 
  14. ^ "Unladen Swallow 2009Q1". unladen-swallow, A faster implementation of Python. Retrieved 19 October 2012. 
  15. ^ "Unladen Swallow 2009Q2". unladen-swallow, A faster implementation of Python. Retrieved 19 October 2012. 
  16. ^ "Unladen Swallow 2009Q3". unladen-swallow, A faster implementation of Python. Retrieved 19 October 2012.