Tutorials about Software Development - page 8

Fast image processing in c#

While the Bitmap provides GetPixel and SetPixel for accessing individual pixels in the bitmap - It is too slow and therefore it not suitable for image processing. The following FastBitmap class allows us to fast access the raw memory of bitmap data via pointers.
C#

Solution to producer and consumer problem in python

In my last project, I needed to synchronize producer and consumers threads. The producer thread was responsible to generate the tasks while the consumer threads were responsible to execute them. This classic producer and consumer problem can be easily solved using the Queue module.

Code Review by Example - The singleton pattern

Code review is a continuous process of reading and examination of code in order to improve the quality of the software. In the code review phase the author of the code or the peer reviewers try to find mistakes, bugs and issues overlooked in the previous development phase. In this article, we will see how code review can improve the quality of the code by simple example - implementing the singleton pattern.
C#