I re-wrote tagger in C

Posted on December 11, 2023
Tags: IT

I previously posted about my script for managing tags that I had written first in Bash, then in Haskell.

After some considerations I decided to re-write it in C.

In fact I wasn’t really happy with Haskell, I tried it and used it for some years because I was curious, I wanted an alternative for when Python was too slow, but I had some problems with it:

  • It’s too high livel to be easily optimizable.

  • The tooling require too much compile time.

  • The tooling require too much disk space (think in GB as soon as you use different libraries versions). This is important for me, as I like to carry around a cheap notebook with very little disk space.

    Also, my internet connexion is quite slow…

But I’m not saying that it is a bad language, I am mostly talking about the implementation and librairies.

Anyway, I updated the repo with all three version:

https://github.com/BasicAcid/tagger/