Speed up Python with Numba

In the last article, I discussed which Python design decisions limit its performance. In this writing, I will demonstrate the Numba package that addresses those limitations to provide high-speed performance for specific use cases, particularly when speeding up functions performing computations on the Numpy’s ndarrays. “Numba is a just-in-time compiler for Python that works best on code that uses NumPy […]

Speed up Python with Numba Read More »

Why is Python slow?

In this series of articles, I present some Python features that cause the execution time to be extended and some popular workarounds to make your code run faster. In the first part, I explain why Python is slower than low-level languages such as C or C++ and other high-level languages like Java or C#. Let’s

Why is Python slow? Read More »

Loops, lists, sorting… What’s next?

Most of the programming tutorials aimed at beginners emphasize learning fundamental code instructions like ‘for’ or ‘if’, enabling writing basic programs and algorithms. While it is a good idea to familiarize yourself with the nuances of your favorite programming language with such tutorials’ help, it won’t be necessary to go through essential programming rules every

Loops, lists, sorting… What’s next? Read More »

3 tips every programming newbie should know – make use of your IDE

In my last article, I wrote that the journey for newbie programmers could be difficult. While starting, there are many things to struggle with because of lack of experience. In the previous article, I mentioned three tips that I would like to share with beginners and then I described the first one. Here, I will continue

3 tips every programming newbie should know – make use of your IDE Read More »