Announcements about the D Programming Language

Windows Linux OS X FreeBSD
Joined May 2010
D Language retweeted
Completed GSoC'26 with @D_Programming . I built a performance regression bot for the D compiler (DMD). It benchmarks every pull request. Thanks to my mentor Dennis Korpel for the guidance. I'll keep contributing to The D Language Foundation and it's ecosystem.
1
6
212
3
15
1,156
More progress with #AArch64 #dlang dmd code generator. The function prolog/epilog is working at a basic level now, and so is the address resolution for stack symbols and register allocation is also working: uint add(uint x, uint y) { return x + y; } becomes: 0000: D1 00 43 FF sub sp,sp,#0x10 0004: B9 00 0B E0 str w0,[sp,#8] 0008: 2A 01 03 E2 mov w2,w1 000c: B9 40 0B E3 ldr w3,[sp,#8] 0010: 0B 23 40 40 add w0,w2,w3,uxtw 0014: 91 00 43 FF add sp,sp,#0x10 0018: D6 5F 03 C0 ret 0000: allocate space for locals 0004: save register parameter x as local 0008: save register parameter y as w2 000c: load local x into w3 0010: w0 = w2 + w3 0014: deallocate space for locals 0018: return from function I know this looks treeevial, but an awful lot has to work to get this far. #compilers #programming #programminglanguages
1
24
1,318
D Language retweeted
Another recreational programming video! Saving and loading the state in binary format - Infinite Game of Life part 3 youtu.be/Sm3YGB56kVU #programming #dlang #raylib
1
2
588
I suppose I can talk about the side project I'm working on -- porting @raysan5 's great raylib library to D. The end result will be D-ified API. But some interesting features of #dlang being used here, including the ability to import C code. schveiguy.com/draylib
2
1
15
725
C++26 vs Dlang2009 #dlang
6
12
1
82
6,073
Working last night and today on implementing the function all ABI for the #AArch64 dmd #dlang code generator.
1
19
1,150
Building #DLang Apps on Apache #NuttX RTOS ... Piece of cake 👍 Source: gist.github.com/lupyuen/e6fe…
4
10
974
#DLang Apps officially supported on Apache #NuttX RTOS 🎉 Source: github.com/apache/nuttx-apps…
3
9
736
VALIDATED! We hope to have #dlang, dkos, and examples fully integrated with KallistiOS for the Sega #Dreamcast, along with precompiled GDC toolchain binaries for DreamSDK on Windows! Thanks for bringing us this magnificent language and for personally turning me on to it!
You’re unable to view this Post because this account owner limits who can view their Posts. Learn more
3
30
1,980
Today's #dlang dmd #Aarch64 accomplishment: long foo(long x, long y) { return 5; } becomes: _D4test3fooFllZl: 0000: D2 80 00 A0 mov x0,#5 0004: D6 5F 03 C0 ret I feel like Herr Doktor Frankenstein applying the lightning! (I know it looks trivial, but there's an awful lot of code in a compiler to get to that point. Note that the compiler has a builtin disassembler I wrote that dumps the generated binary, rather than trying to assemble text.) Many thanks to godbolt.org to show me what needs to happen. #compilers #programminglanguages #programming
2
1
47
2,254
D Language retweeted
Level up! My visual novel now has options & transitions with a pixel-perfect retro vibe. Time to write the story. #gamedev #indiedev #raylib #programming #dlang
3
19
1,402
I'm fairly pleased with this refactoring of a function that makes it dramatically easier to read, and is significantly reduced in size, although its behavior is identical. github.com/dlang/dmd/pull/16… #dlang #programming
1
8
1,234
Ever wonder why the code you wrote more than 5 years ago is a fetid swamp of awfulness? For many ideas on how to fix this, my talk on Comprehensible Programming is now available. slides: nwcpp.org/talks/2024/underst… video: youtu.be/_Y3sK19Uhgg #dlang #programming #compilers #programminglanguages
4
9
42
2,239
#importc now successfully converts function-like C macros to #dlang function templates: #define ADD(a, b) a + b is converted to a D function template: auto ADD(T1, T2)(T1 a, T2 b) { return a + b; } which opens up a lot more automatic support for C macro use. github.com/dlang/dmd/pull/16… #programming #compilers #programminglanguages
1
6
36
2,202
The next #dlang meeting will be Fri Feb 23 7pm at the Overlake Red Robin. We'll be determining who the Ring Bearer will be, so if you don't want to be selected, you'll need to attend.
2
1
9
1,397
Posted on the #dlang forums Jan 18: "Seriously, the reason I use D is precisely because it meets that perfect peak intersection on the graph between powerful and genuinely fun/enjoyable to work with. When I'm not doing commercial work in D, I have folder upon folder of little snippets and experiments I've done just to explore new ideas or try something entertaining or creative, because it's just that easy, and appealing, to jump right in and do it in D. Other languages haven't inspired me to that degree, and I'm one that rode the perl wagon for long after it should have turned around and headed back to civilization."
2
2
19
1,999