c
Calling C Posix Threads from Python Through Cython
Call C Parallel Function from Python C language is fast. Let alone parallelism in C. It is a great speed boost especially for heavy operations. Here we will see how…
Read moreInterprocess Communication and Parallelism in C
Building a Weather Application Using IPC and Parallelism Building a weather application using interprocess communication (IPC) like named pipes and shared memory. In addition to parallelism through posix threads to…
Read moreTask Scheduler in C using Struct Pie
Using Struct Pie C Shared Libraries to Develop a Priority Queue Scheduler Suppose you have a list of scripts or tasks that you want your computer to do in a…
Read moreImport C Code in Python (Part 2)
Importing C libraries and functions in Python using ctypes library and Cython C is known by its speed, so sometimes when the performance and the speed are an issue, developers…
Read moreImport C Code in Python (Part 1)
Importing C libraries and functions in Python using ctypes library and Cython C is known by its speed, so sometimes when the performance and the speed are an issue, developers…
Read moreSimulated Annealing with C
Solving Optimization Problems with C We will look at how to develop Simulated Annealing algorithm in C to find the best solution for an optimization problem. The problem we are…
Read moreStruct Pie (Python Library Quick Start)
Adding More Data Structures to Python A set of python modules for data structures. All data structures are written in C and imported into python using cython. No python code involved to make…
Read more