Write yourself a GIT!

I found a website called "write yourself a Git!", which, as the name suggests, explains how Git is implemented and explains how to replicate it using Python.

By looking at the requirements, a few things that are readily available in Python must be addressed first.

It requires a parser for Microsoft's INI format, it needs SHA-1, regular expressions, and ZLib.

I've decided to start by coding a SHA-1 function in C. It can then be imported as a C++ method. The ZLib should have been implemented somewhere with C++98, so I'll try and find something like that. I think there's regex on C++, but I need a refresher on that language.

Comments

Popular posts from this blog

Using Retro68 on a Mac

Catching up with QEMU

Flashback: 1991