r/d_language • • 7d ago

What's something any other language cannot do except D?

14 Upvotes

im really curious for what is a feature any language cannot do except D.


r/d_language • • 9d ago

How Effectively Agents Write D

Thumbnail
pja.name
13 Upvotes

An initial investigation into how effectively LLM agents can write D code, where they slip up, and what the D language and ecosystem can do to improve the agentic experience.


r/d_language • • 9d ago

Crossport: A meson build system Crossfile generator

1 Upvotes

I Built a Crossfile generator because i didnt wanna make Crossfiles.

Crossport Features:

- Clean Errors

- Written in Pure D

- D, C, Rust, C++, Fortran, C# Support

- Lightweight <1MB in size.

- Fast

- CLI

- No Dependencies

You Can Check the project in here:

https://github.com/TryMyconfusions/Meson-Crossport


r/d_language • • 13d ago

How could D increase performance in a Graphics Related Project

9 Upvotes

Hi everyone, for the last 3 months I've been building a path tracer using CUDA and C++ but meanwhile I was introduced to Dlang thanks to Mike Shah and just loved how D do things different than other programming languages. So since I am into computer graphics I am mostly building CG related projects and I've been wondering how transferring to D can impact my projects especially in terms of performance. So my question would be how can D become useful and increase the performance of a computer graphics projects.


r/d_language • • 21d ago

Anyone Use Tiled with D?

6 Upvotes

I am making a 2D Game and am using Tiled as the map creator. I am wanting to know if yall use / import tmx or json?

also if yall hate tiled whats a better map creator and what other options would yall take?


r/d_language • • Sep 30 '26

Help needed: Autocomplete not working in editors

2 Upvotes

Like the title says. I've recently been wanting to try out D lang and so downloaded DMD and VisualD. Everything seemed to install properly and work. I can also use DUB and run the application, install packages.

But seems like auto complete is not working on any editor. I tried both Visual Studio using VisualD and VSCode usng code-d. In both cases pressing Ctrl + Space does not popup options like it does for other languages. Even pressing `.` after a value like a String and stuff does not show suggestions.

Did I miss a step or something? Not too sure. Some help would be appreciated!


r/d_language • • Sep 10 '26

Selenium (v0.0.4)

Thumbnail
github.com
13 Upvotes

About two months ago I posted about implementing Selenium in D. A lot has changed since then, and the replacement now targets the modern W3C WebDriver protocol, has working cross-platform CI, good documentation, and a much more complete client API.

What works:

  • No FFI to Python or Java

  • Typed W3C and browser-specific configuration for Chrome, Firefox, Edge, and Safari

  • Automatic WebDriver discovery, startup, and remote connections

  • Multiple sessions sharing a WebDriver bridge with configurable capacity

  • Lazy timeout synchronization

  • Navigation, elements, cookies, scripts, frames, windows, screenshots, and alerts

  • Document, iframe, and shadow root abstractions with scoped searches

  • Typed WebDriver exceptions and W3C response/reference parsing

  • Browser and WebDriver process logging

  • Grid hub/node models, slots, session ownership, and in-process HTTP routing

  • Unit and browser integration tests across Windows, Linux, and macOS

The Grid implementation is still foundational right now. It has the models and routing pieces, but a complete live Grid server, node registration, session allocation, and full command forwarding are still planned.

Some features are still incomplete. Chrome and Firefox are the most supported, Edge works, and Safari has somewhat limited support, with 7/57 integration tests failing. The Grid support is also not yet a complete replacement for Selenium Grid.

I had to fork Unit Threaded for this since Windows tests would fail due to bugs in the test runner, so it currently uses the fork until that is fixed upstream. It no longer depends on anything except requests, so there are no complex dependencies.

Feedback, bug reports, and contributions are welcome. The commits since my last post are from release v0.0.2 to v0.0.4.

GitHub: https://github.com/cetio/selenium
DUB: https://code.dlang.org/packages/selenium


r/d_language • • Aug 10 '26

On the D Blog: Language Plasticity is More Important Than Ever

12 Upvotes

In this blog post, Adam Wilson goes into the importance of language plasticity in the LLM era, particularly as it applies to the number of tokens used on a given task, and why D has an advantage.

https://blog.dlang.org/2026/08/10/language-plasticity-is-more-important-than-ever/


r/d_language • • Jul 28 '26

Call for feedback: Imaging library

Thumbnail
code.dlang.org
4 Upvotes

I crated the Imaging library.

I'm sharing an early version here as a call for feedback.


r/d_language • • Jul 19 '26

(Ab)using Overload Sets to Create Ad-Hoc Template APIs

Thumbnail blog.dlang.org
12 Upvotes

r/d_language • • Jul 14 '26

DConf '25 | Building a 3D Game Engine with D | Lewis Nicolle

Thumbnail
youtu.be
24 Upvotes

'The Art of Reflection' is a game (now on Steam) created with a custom 3D engine, all of it coded in D. The author, Lewis Nicolle, dove into it last year at DConf '25.


r/d_language • • Jul 06 '26

raylib-d android template

Thumbnail
gallery
18 Upvotes

just learning D because of wanting a nice workflow coming from C/C++ and raylib, but really dissapointed there was little to no information about raylib-d+android, i hope this would be useful for someone

https://github.com/Zariep-Software/raylib-d-android-template


r/d_language • • Jul 01 '26

Hello! New member of the Dlang community! CODE TILL YOU GET TO DIGITAL MARS!! :-)

10 Upvotes

I am new here and wondering about the rules concerning Dlang community! Are there any rules against posting images of projects or Dlang inspired art if you have used AI to assist in creating it? How does the Dlang community feel about AI in general?


r/d_language • • Jun 28 '26

Selenium for D

25 Upvotes

The previous D binding (selenium.d) has been abandoned since ~2018 and used the old JSON Wire Protocol. I spent the last month writing a replacement that targets the modern W3C WebDriver protocol, supports Chrome/Firefox/Edge/Safari, and includes the foundations of a Selenium Grid server.

It's available on both GitHub and DUB and is licensed under Apache 2.0 like normal Selenium.

What works:

  • Native W3C WebDriver client (no FFI to Python/Java)

  • Chrome, Firefox, Edge, and Safari with support for browser configuration

  • Element interaction, cookies, scripts, frames, windows, roots, screenshots

  • Lazy timeout syncing and shared session bridges

  • Browser logging

  • Grid hub/node models and HTTP routing

  • Unit + integration tests, CI, and docs

Planned: W3C Actions, BiDi, and fuller Grid routing.

Some features have not been implemented or are lacking (ie: Safari and Edge have NOT been tested and may be missing some fine-grain options, and the project is by no means perfect.)

I usually provide updates through the D community discord, and I don't usually use Reddit, so updates through this subreddit may be sporadic at best. Any feedback or contributions are appreciated.

GitHub: https://github.com/cetio/selenium 
DUB: https://code.dlang.org/packages/selenium


r/d_language • • Jun 17 '26

Does it Compile To Web Assembly

3 Upvotes

This Language Looks Hot but I am Needing to Compile to Web. Also after Looking at this Language, My Comment is that it should be as Popular as Rust.


r/d_language • • Jun 08 '26

Teaching an AI to Know Itself: Building a Local LLM Agent in D

Thumbnail blog.dlang.org
11 Upvotes

DLLM is a local agentic LLM written in the D programming language and built directly on llama.cpp. This blog post goes into some of the D features used to make it work.


r/d_language • • Jun 05 '26

Built a simple banking system while learning D 🚀

16 Upvotes

Just finished a small banking system project in D! 🚀

Over the last few days I've been learning D and decided to build a simple banking application to better understand the language fundamentals, object-oriented programming, exception handling, and business rules.

Current features:

  • Account creation

  • Deposits

  • Withdrawals

  • Transfers

  • Account lookup

  • Account validation

Coming from a background with Python and some C/C++, one of the things that caught my attention was how D provides native performance while still feeling productive and pleasant to write.

This project is still simple, but it has been a great learning experience so far.

I also plan to continue exploring D and, if possible, contribute to the D ecosystem and community in the future. I genuinely believe the language has a lot of potential and deserves more attention from developers interested in systems programming and high-performance applications.

Feedback is welcome!

GitHub: https://github.com/deepsidex73-dotcom/banking_d


r/d_language • • May 29 '26

I Stopped Fighting My Tools and Built a Game Engine in D

Thumbnail blog.dlang.org
31 Upvotes

Alexandros Kapretsos, known in the D community as Kapendev, has written a post for the D Blog in which he describes how he used some of D's features to create Parin, his 2D game engine.


r/d_language • • May 25 '26

made this in 10 minutes

Post image
15 Upvotes

it has the c background


r/d_language • • May 22 '26

Make Your First Pixel Art Game in Parin - Game Engine Quick Start

8 Upvotes

r/d_language • • May 20 '26

I created a tutorial on web development using Dlang

11 Upvotes

r/d_language • • May 08 '26

Implementing a type-safe, compile-time Builder in D

Thumbnail blog.dlang.org
13 Upvotes

r/d_language • • Apr 25 '26

How to see debug output of DCD?

4 Upvotes

I can't get the auto completion to work and there is just a generic "Could not initialize DCD for /home/path" message in VS Code without any hints what went wrong. Happens to me on both Windows with WSL as well as on a new installation of CachyOS. Anybody having a clue what I could do?


r/d_language • • Apr 20 '26

Would a modern native desktop UI framework and VS Code designer be interesting for the D community?

12 Upvotes

Hi everyone,

I have been exploring the idea of building a modern desktop UI framework and development tooling focused on D, and I would love to get feedback from the community.

The idea is something along these lines:

  • UI described with a modern CSS-like / declarative syntax

  • code written in D

  • native Windows output (Win32 / potentially Direct2D)

  • small binaries and fast startup

  • optional VS Code extension with live preview / GUI designer

  • focus on better developer experience compared to raw Win32 APIs

The main goal would be to offer something with a workflow closer to modern frontend development, while still generating native desktop applications.

I am trying to understand whether this would actually be useful for D developers.

Some questions I would love feedback on:

  • Would this be interesting for your projects?

  • What do you currently use for desktop UI in D?

  • What are the biggest pain points today?

  • Would you prefer direct native Win32 generation, or a cross-platform backend?

  • How important would live preview / visual designer tooling be?

I would really appreciate honest feedback from people actively using D for desktop or tooling projects.