Hobby 3D game engine in D (WGPU + SDL3 + ECS) — built with AI
Kapendev
alexandroskapretsos at gmail.com
Tue Jul 21 22:59:55 UTC 2026
On Tuesday, 21 July 2026 at 22:53:51 UTC, Kapendev wrote:
> On Tuesday, 21 July 2026 at 21:11:16 UTC, Leonardo T A wrote:
>> Curious what the D community thinks — especially about the
>> AI-assisted workflow and whether the resulting
>> code/architecture looks sane. Feedback welcome.
>
> Compiles on my Linux machine. I got stuck at linking because I
> don't have SDL3 and WGPU installed. Something for later.
>
> Looks fine. Only thing I would change is to include the Box3D
> headers in the repo and change the `box3d_shim.h` file to
> something like this:
>
> ```c
> #pragma once
>
> // Must match the libbox3d.a build configuration.
> // Default integration: single precision, SIMD enabled, Release
> assertions off.
> #define _Float128 long double
> #define NDEBUG 1
>
> #pragma attribute(push, nogc, nothrow)
> #include <stdint.h>
> #include <stdbool.h>
> #include "local_copy/box3d/box3d.h"
> #pragma attribute(pop)
> ```
Well, technically `string` is not a GC type. I'm saying that
because I looked at one of your D scripts. Only thing GC related
is using `~` or changing the length of it.
More information about the Digitalmars-d
mailing list