My 2nd D app in production. I and my new buddy Claude wrote a log parser for MySql. Simple bread&butter program, but it was easy and fun to write, performant and pleasing to the eye. There are probably a number of MySQL log parsers out there, but I wanted to build my own.

I found std.getopt, I like to write small things like that, simple useful that saves a lot of time, the problem is to find them when you have not written them yourself.

Before this app I tried to write a bare metal program in D myself, following an example I found on the net. I could not make it work. I asked Claude to create one, he created a working example after some fixing. Claude complaint that BetterC was missing something (I forgot what it was) and that made it more difficult, than using C. I realised betterC is not a superset of C, but something else. I also realised D bare metal is to hard for me, native assembler is probably a better option for me.

Somewhere I have have a Raspberry Pi4, I will try to find it, and write some D code there. I hope that works better than bare metal.
One question is Raspberry Pi a good 'host' for D?

Reply via email to