Learning Cython Programming. (2013)
- Record Type:
- Book
- Title:
- Learning Cython Programming. (2013)
- Main Title:
- Learning Cython Programming.
- Other Names:
- Herron, Philip
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Cython Won't Bite; What this book is; What this book isn't; Installing Cython; The emacs mode; Getting the code examples; Hello World; Module on your own; Calling into your C code; Type conversion; Summary; Chapter 2: Understanding Cython; Cython cdef; Linking models; The public keyword; Logging into Python; Python ConfigParser; Cython cdef syntax and usage reference; Structs; Enums; Typedef and function pointers; Scalable asynchronous servers; C sockets with libevent. What is libevent?Messaging engine; Cython callbacks; Cython PXD; Python messaging engine; Integration with build systems; Python distutils; GNU/Autotools; Summary; Chapter 3: Extending Applications; Cython pure Python code; Python bindings; Python garbage collector; Extending Tmux; Tmux build system; Embedding Python; Cythonizing struct cmd_entry; Implementing a Tmux command; Hooking everything together; Compiling pure Python code; Summary; Chapter 4: Debugging Cython; Using GDB on your code; Running cygdb; General Cython caveats; Type checking; No * operator; Python exceptions in C. For loops on C typesBool type; No C const; Multiple Cython files; Initializing struct; Calling into pure Python modules; Keeping call stacks small and pure; Summary; Chapter 5: Advanced Cython; C++ constructs; Namespaces; Classes; C++ new keyword and allocation; Exceptions; Bool type; Overloading; Templates;Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Cython Won't Bite; What this book is; What this book isn't; Installing Cython; The emacs mode; Getting the code examples; Hello World; Module on your own; Calling into your C code; Type conversion; Summary; Chapter 2: Understanding Cython; Cython cdef; Linking models; The public keyword; Logging into Python; Python ConfigParser; Cython cdef syntax and usage reference; Structs; Enums; Typedef and function pointers; Scalable asynchronous servers; C sockets with libevent. What is libevent?Messaging engine; Cython callbacks; Cython PXD; Python messaging engine; Integration with build systems; Python distutils; GNU/Autotools; Summary; Chapter 3: Extending Applications; Cython pure Python code; Python bindings; Python garbage collector; Extending Tmux; Tmux build system; Embedding Python; Cythonizing struct cmd_entry; Implementing a Tmux command; Hooking everything together; Compiling pure Python code; Summary; Chapter 4: Debugging Cython; Using GDB on your code; Running cygdb; General Cython caveats; Type checking; No * operator; Python exceptions in C. For loops on C typesBool type; No C const; Multiple Cython files; Initializing struct; Calling into pure Python modules; Keeping call stacks small and pure; Summary; Chapter 5: Advanced Cython; C++ constructs; Namespaces; Classes; C++ new keyword and allocation; Exceptions; Bool type; Overloading; Templates; Static class member attribute; Caveat on C++ usage; Calling in C and C++ functions; Namespaces; Python distutils; Python threading and GIL; Atomic instructions; Read/write lock; Cython keywords; Messaging server revisited; More inspiration; Messaging server working with SQL. Python IRC notifierUnit testing the native code; Preventing subclassing; Cython typing via annotations; Parsing large amounts of data; Summary; Chapter 6: Further Reading; Keyword cpdef; OpenMP support; Object initialization; Compile time; Python 3; Using PyPy; AutoPXD; Pyrex versus Cython; SWIG versus Cython; Cython and NumPy; Numba versus Cython; Parakeet and Numba; Links and further reading; Summary; Index. … (more)
- Publisher Details:
- Place of publication not identified : Packt Publishing
- Publication Date:
- 2013
- Extent:
- 1 online resource
- Subjects:
- 005.2
COMPUTERS -- Programming Languages -- Python
Object-oriented programming languages
Python (Computer program language)
C (Computer program language)
C++ (Computer program language)
Object-oriented programming languages
Python (Computer program language)
C (Computer program language)
C++ (Computer program language)
COMPUTERS -- Programming Languages -- C
COMPUTERS -- Programming Languages -- C
C (Computer program language)
C++ (Computer program language)
Object-oriented programming languages
Python (Computer program language)
COMPUTERS -- Programming Languages -- General
Electronic books - Languages:
- English
- ISBNs:
- 1299926045
9781299926042
1783280808
9781783280803
9781680154184
1680154184 - Related ISBNs:
- 9781783280797
1783280794 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.87344
- Ingest File:
- 01_092.xml