书籍 Cython的封面

Cython

Kurt W. Smith

出版时间

2015-01-30

ISBN

9781491901557

评分

★★★★★
书籍介绍

Cython can yield massive performance improvements over pure Python—speedups of 3000X are easily attainable for certain patterns. With this book, Kurt Smith shows you how to use Cython to easily wrap C and C++ libraries in Python, handling all the details of memory management for you. By removing the barrier between Python and C, Cython harnesses the best of both languages while remaining familiar and comfortable to Python users.

Cython has proven its usefulness in many foundational projects: Pandas, SymPy, Sage, and dozens of others, both open and closed source. You'll learn how Cython is an essential part of any performance-oriented Python programmer’s arsenal.

Kurt Smith has been using Python in scientific computing ever since his college days, looking for any opportunity to incorporate it into his computational physics classes. He has contributed to the Cython project as part of the 2009 Google Summer of Code, implementing the initial version of typed memoryviews and native cython arrays. He uses Cython extensively in his consulting...

(展开全部)

用户评论
31
很好的一本书,解除了我对python c/c++扩展的各种疑惑,改天找个项目试试。
clear and concise comprehensive coverage of Cython. The author's 3+ hours presentations in Youtube is also very good.
It is a powerful tool, but it must be used in the right way.
加速加速加速
特别有条理, 甚至还有习题章, 虽然我对性能部分并不关心, 但是写得太流畅导致一口气读了下去. 读完后产生了一种 "pyelf 性能有救了" 和 "以后所有项目都直接用 Cython 吧" 的想法...
非常好,科技文档界的一股清流
推荐
cython确实快…沉迷于提高代码速度
cython大致能当一门新语言来学了 机器生成代码比我想象中的牛逼多了。以后有性能需求的时候(maybe)可以用cython试试