Posts for: #Multiprocessing

Asyncio - Asynchronous Methods in Python

With the release of Python 3.4, I updated my book on Introduction to Programming with Python. Some topics fall outside the scope of the book, which is intended for beginners. I’m going to start writing a series of short posts about some interesting topics that I think are worth discussing and might even be the basis for a new book.

One of the new features in Python 3.4 is the asyncio module, which brings various routines for calling asynchronous methods in Python. Asynchronous programming is a bit different from what we’re used to writing in Python, but it’s an excellent alternative to using threads and a good choice for solving problems with many inputs or outputs (I/O).

Read more

Asyncio - Asynchronous Methods in Python

With the release of Python 3.4, I updated my book on Introduction to Programming with Python. Some topics fall outside the scope of the book, which is intended for beginners. I’m going to start writing a series of short posts about some interesting topics that I think are worth discussing and might even be the basis for a new book.

One of the new features in Python 3.4 is the asyncio module, which brings various routines for calling asynchronous methods in Python. Asynchronous programming is a bit different from what we’re used to writing in Python, but it’s an excellent alternative to using threads and a good choice for solving problems with many inputs or outputs (I/O).

Read more

Multitasking and Multiprocessing

When starting to write this post, I remember that July was a really busy month, without new posts on JungleCoders. But it was a month where I returned to reading about the issues of today about multiprocessing. A few years ago, there were fewer processors than users :-) It was the time of large computers or mainframes.

With the arrival of the personal processor, began the era of one-to-one, but they were small machines, with simple operating systems. Although there was a processor per user, there was no system operating system, much less resources on hardware to support task switching. Of course, for home computers, as super-micros and complete operating systems such as Unix already existed.

Read more

Multitasking and Multiprocessing

When starting to write this post, I remember that July was a really busy month, without new posts on JungleCoders. But it was a month where I returned to reading about the issues of today about multiprocessing. A few years ago, there were fewer processors than users :-) It was the time of large computers or mainframes.

With the arrival of the personal processor, began the era of one-to-one, but they were small machines, with simple operating systems. Although there was a processor per user, there was no system operating system, much less resources on hardware to support task switching. Of course, for home computers, as super-micros and complete operating systems such as Unix already existed.

Read more