Is D really terrible for web?
Kagamin
spam at here.lot
Sun Nov 2 20:21:02 UTC 2025
On Sunday, 2 November 2025 at 17:13:27 UTC, RexFactorem wrote:
> Here is the quote from the repo:
>
>> D could arguably be #2 either tied with or displacing C++ if
>> we're just talking about Desktop without web support. D's
>> dstep tool and importc language feature make interop with C
>> pretty easy. It has componet wise array operations similar to
>> Odin which is nice. For me the big problem with D is that its
>> wasm support is terrible. You can really only use it with
>> betterC which is D's limited mode that restricts it to an
>> enhanced C subset. When I was asking questions about using D's
>> betterC with wasm one discord user kept refering to it as
>> worse D, which might sound negative but is 100% accurate. Many
>> of the things that make D good don't work in better C. Overall
>> using D on desktop is great, but its terrible for the web and
>> wasm.
That's written in the Graphics section, so it's about OpenGL and
wasm (web graphics) support. Since he was disappointed with wasm
support, he didn't explore D further.
More information about the Digitalmars-d
mailing list