digitalmars.D.learn - a new ap and a failure
- Lars Johansson (20/20) Feb 19 My 2nd D app in production. I and my new buddy Claude wrote a
- Mindy (0xEAB) (6/7) Feb 20 Certain D libraries can be quite memory-intensive to compile.
- Mindy (0xEAB) (3/4) Feb 20 But that heavily depends on what you’re doing. The 4/2 GB models
- Serg Gini (5/11) Feb 20 Did you try the second one here? First one maybe an outdated..
- Lars Johansson (8/10) Feb 21 yes I used https://zyedidia.github.io/blog/posts/1-d-baremetal/.
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?
Feb 19
On Friday, 20 February 2026 at 07:25:58 UTC, Lars Johansson wrote:One question is Raspberry Pi a good 'host' for D?Certain D libraries can be quite memory-intensive to compile. You might want to try the `-lowmem` compiler switch. Also, I’d recommend to look into the 8 GB or 16 GB models. Depending on other processes (IDE, web browser, music player, …) on your system you might quickly run out of memory otherwise.
Feb 20
On Friday, 20 February 2026 at 09:06:03 UTC, Mindy (0xEAB) wrote:Also, I’d recommend to look into the 8 GB or 16 GB models.But that heavily depends on what you’re doing. The 4/2 GB models can be mighty fine platforms for D development too.
Feb 20
On Friday, 20 February 2026 at 07:25:58 UTC, Lars Johansson wrote:Before this app I tried to write a bare metal program in D myself, following an example I found on the net. I could notDid you try the second one here? First one maybe an outdated.. https://theartofmachinery.com/2017/02/28/bare_metal_d.html https://zyedidia.github.io/blog/posts/1-d-baremetal/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?It should work with LDC
Feb 20
On Friday, 20 February 2026 at 10:40:32 UTC, Serg Gini wrote:... It should work with LDCyes I used https://zyedidia.github.io/blog/posts/1-d-baremetal/. but I only followed 1st and last. As usual I skipped the middle part. Now I have redone all steps in order and now it works. I give the bare metal another try. Thank you all for help and advice. Right now I am busy with $job. The guys at the office is working on ending my contract, then I will have more time for D :)
Feb 21









Mindy (0xEAB) <desisma heidel.beer> 