Please check this interview with Lewis Nicolle who created his own game engine with Dlang for his new game Art of Reflection, and why Dlang very much suitable for game engine development [1],[2].
My impression was that it strives to be a better C++ by fixing many of the annoyances and providing some well thought out convenience features, and it did a pretty good job. I thought the multiple version features and being able to write unit tests inline was especially nice.
But D came about before C++11 was a thing, and C++11 was a great ergonomic improvement over C++98. Since C++ got better, I haven't been keeping up with D.
Kapendev 6 hours ago [-]
I like how easy it is to switch between low-level and high-level code, and it has some neat features for modeling data.
doublerabbit 14 hours ago [-]
This is cool. Well done in the creation.
15 hours ago [-]
xyzzy_apps 11 hours ago [-]
Every time I get excited to try a non C++ based language - Rust, Zig, D I am always reminded on how non-existent the mobile support is. Strictly from the standpoint of strong mobile support the only languages worth bothering with are C# and dart. Java and Swift are too tied to their platforms.
JuniperMesos 2 hours ago [-]
There's a lot of interest in using Rust on mobile platforms, and it's definitely possible to write code in Rust that executes on mobile. I've personally been working on a mostly-rust project that effectively uses a Kotlin shim for the UI on Android, and this works surprisingly well and was less effort to get working than I expected it to be.
Abishek_Muthian 5 hours ago [-]
I might have misunderstood your statement but I use rust all the time with dart FFI in my apps.
hingler36 6 hours ago [-]
Is there a wasm-esque effort for mobile?
Kapendev 6 hours ago [-]
No idea. I weirdly want to use the Wasm target with some JS thingy to target mobile. Sounds like fun?
Ephraimd 13 hours ago [-]
Always excited to see something done with Dlang. I still think that language is underrated.
giancarlostoro 12 hours ago [-]
DMD needs to work on modern Macs. I am about to have a chat with Claude over how I can make that happen at this point, I have a feeling it will involve the LLVM D compiler, some assembly witchcraft for Apple Silicon and maybe some sort of bootstrapping method. I did toy with making Mojo work on Windows, but Max is proprietary so I can only use a tiny fraction of Mojo on Windows unfortunately.
deaddodo 7 hours ago [-]
A good chunk of the community uses LDC or GDC for that exact reason. I understand why Digital Mars wants to retain control of the core compiler, but they certainly need to work with the community if they can’t get solid support on a major platform.
Rendered at 09:31:45 GMT+0000 (UTC) with Wasmer Edge.
[1] Why D Programming Language?
https://www.youtube.com/watch?v=teWQbYvPBTg
[2] Art of Reflection:
https://store.steampowered.com/app/2290770/The_Art_of_Reflec...
So, simple question: why D? Keep in mind that "I think it writes pretty code" is a perfectly valid answer.
https://www.youtube.com/watch?v=RlVpPstLPEc
My impression was that it strives to be a better C++ by fixing many of the annoyances and providing some well thought out convenience features, and it did a pretty good job. I thought the multiple version features and being able to write unit tests inline was especially nice.
But D came about before C++11 was a thing, and C++11 was a great ergonomic improvement over C++98. Since C++ got better, I haven't been keeping up with D.