Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Concurrency in Python

You're reading from   Learning Concurrency in Python Build highly efficient, robust, and concurrent applications

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781787285378
Length 360 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Elliot Forbes Elliot Forbes
Author Profile Icon Elliot Forbes
Elliot Forbes
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Speed It Up! FREE CHAPTER 2. Parallelize It 3. Life of a Thread 4. Synchronization between Threads 5. Communication between Threads 6. Debug and Benchmark 7. Executors and Pools 8. Multiprocessing 9. Event-Driven Programming 10. Reactive Programming 11. Using the GPU 12. Choosing a Solution

Numba


The Numba Python compiler from continuum analytics helps make highly parallelizable, incredibly powerful performance from an interpreted language a reality.

Note

Note: The documentation on the official pydata website provides a comprehensive overview of what Numba is and how you can leverage it in your own Python programs. You can find it at http://numba.pydata.org/#.

In this section, we'll have a look at the ecosystem surrounding Numba, which takes its form in the shape of Anaconda. We'll also look at how you can then leverage Numba alongside numerous other packages in order to effectively and efficiently perform analysis of big data. We'll cover some of the basics of Numba and then work our way into the more complex aspects such as utilizing GPUs and APUs within our program.

Overview

Numba is very cool in the sense that it generates optimized machine code from pure Python code using the LLVM compiler infrastructure. By making slight modifications to our existing code, we can see incredible...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime