Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Cython 0.17 released

Reply
Thread Tools

Cython 0.17 released

 
 
Stefan Behnel
Guest
Posts: n/a
 
      09-02-2012
Hello everyone,

on behalf of the Cython project team, I'm proud to announce the final
release of Cython 0.17. This is a major step forward in the development of
the Cython programming language that will make life easier for a lot of
users, rounds up some rough edges of the compiler and adds (preliminary)
support for CPython 3.3 and PyPy.

With this release, the Cython compiler successfully passes over 14,000
regression tests of the CPython 3.3 test suite and almost 13,000 tests of
the CPython 2.7 suite, with only some 300 and 200 failures respectively.
This makes it a serious alternative to interpreted Python execution that
integrates natively with the complete CPython ecosystem.

It is also the first final release of an implementation of PEP 380
(generator delegation), before it will eventually appear in CPython 3.3.


=== Download and Documentation ===

Download: http://cython.org/release/Cython-0.17.tar.gz

Release notes: http://wiki.cython.org/ReleaseNotes-0.17

Homepage: http://cython.org/

Documentation: http://docs.cython.org/


=== Major features of this release ===

* vastly improved integration with the C++ STL containers

http://docs.cython.org/src/userguide...andard-library

http://docs.cython.org/src/tutorial/...html#c-strings

* "yield from" delegation between generators (PEP 380)

http://www.python.org/dev/peps/pep-0380/

* alpha quality support for PyPy (via cpyext)

http://docs.cython.org/src/userguide/pypy.html


=== What is Cython ? ===

Cython is a language with an optimising compiler that makes writing C
extensions for the Python language as easy as Python itself.

The Cython language is a superset of the Python language that additionally
supports calling C functions and declaring C types on variables and class
attributes. This allows the compiler to generate very efficient C code from
Cython code. The C code is generated once and then compiles with all major
C/C++ compilers in CPython 2.4 and later, including Python 3.x. PyPy
support is work in progress (on both sides) and is considered mostly usable
in Cython 0.17.

All of this makes Cython the ideal language for wrapping external C
libraries, embedding CPython into existing applications, and for fast C
modules that speed up the execution of Python code.


Have fun,

Stefan

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cython dynamic library problem Tommy Grav Python 3 09-18-2008 05:17 PM
Wrap Numpy with Cython? martin.nordstrom87@gmail.com Python 1 06-24-2008 08:09 PM
Cython code generation for Py3 complete Stefan Behnel Python 0 05-22-2008 08:10 AM
Types, Cython, program readability bearophileHUGS@lycos.com Python 13 03-29-2008 02:31 AM
HowTo Use Cython on a Windows XP Box? David Lees Python 5 09-01-2007 06:00 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57