Recent Posts

XML to JSON using MapNeat

3 minute read

Following my previous article, I wanted to expand on the capabilities of the mapneat library.

Hello world, mapneat!

4 minute read

One of the most common scenarios I had to solve during my Software Engineering career is to manipulate data, apply some logic on top, eventually change the w...

Generate random SQL inserts using pysert

1 minute read

pysert (with lowercase ‘p’) is a python script capable of generating random SQL data (INSERTS) from predefined templates . Actually, it can generate all kind...

Bottom-up Merge Sort (non-recursive)

5 minute read

In the last article I’ve described a recursive version of the Merge Sort Algorithm . Of course every recursive algorithm can be written in an iterative manner.

Binary GCD (Stein’s Algorithm) in C

4 minute read

Binary GCD also known as Stein’s Algorithm is an algorithm that computes the greatest common divisor of two (positive) numbers . Discovered in 1967 by the Is...

Euclid’s Algorithm

3 minute read

Recently I’ve started to implement (or reimplement) the most common algorithms a software developer should know . One of the nicest books I found on this top...

Generic data structures in C

8 minute read

This tutorial assumes the reader is familiar with C macros, C pointers, and basic data-structures.