Cython

Cython

Description

Build software that combines Python's expressivity with the performance and control of C (and C++). It's possible with Cython, the compiler and hybrid programming language used by foundational packages such as NumPy, and prominent in projects including Pandas, h5py, and scikits-learn. In this practical guide, you'll learn how to use Cython to improve Python's performance - up to 3000x - and to wrap C and C++ libraries in Python with ease. Author Kurt Smith takes you through Cython's capabilities, with sample code and in-depth practice exercises. If you're just starting with Cython, or want to go deeper, you'll learn how this language is an essential part of any performance-oriented Python programmer's arsenal.Use Cython's static typing to speed up Python code Gain hands-on experience using Cython features to boost your numeric-heavy Python Create new types with Cython - and see how fast object-oriented programming in Python can be Effectively organize Cython code into separate modules and packages without sacrificing performance Use Cython to give Pythonic interfaces to C and C++ libraries Optimize code with Cython's runtime and compile-time profiling tools Use Cython's prange function to parallelize loops transparently with OpenMP

Similar Books

ISBN 10: 1492055026
ISBN 13: 9781492055020

26 May 2020
Micha Gorelick

ISBN 10: 1775093344
ISBN 13: 9781775093343

05 May 2021
Anthony Shaw

ISBN 10: 149205769X
ISBN 13: 9781492057697

31 Jan 2020
Noah Gift

ISBN 10: 1783551674
ISBN 13: 9781783551675

23 Feb 2016
Philip Herron

ISBN 10: 1492052205
ISBN 13: 9781492052203

30 Apr 2020
Harry J.W. Percival

ISBN 10: 1775093301
ISBN 13: 9781775093305

25 Oct 2017
Dan Bader

ISBN 10: 1492032646
ISBN 13: 9781492032649

22 Oct 2019
Aurélien Géron

ISBN 10: 1492052590
ISBN 13: 9781492052593

20 Jul 2021
Jim Blandy

ISBN 10: 0134494164
ISBN 13: 9780134494166

20 Sep 2017
Robert Martin

ISBN 10: 1491952024
ISBN 13: 9781491952023

09 Jun 2020
David Flanagan

ISBN 10: 1098115783
ISBN 13: 9781098115784

10 Nov 2020
Valliappa Lakshmanan

ISBN 10: 0132350882
ISBN 13: 9780132350884

01 Mar 2009
Robert Martin