There's a #dlang Symposium happening at Yale April 11 and 12. One day of talks, one day of hacking. The speaker list is now up on the site: https://t.co/wUtE74sFFU
The submission window for #DConf '25 is open! We're back in London August 19-22, courtesy of @SymmetryInvest . We're looking for talks on #dlang-related or general programming topics. Find the details at https://t.co/frqVr8NSja.
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
Another recreational programming video!
Saving and loading the state in binary format - Infinite Game of Life part 3
https://t.co/59t7YhU3bF
#programming#dlang#raylib
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. https://t.co/suNqNjKmXY
Thanks to @SymmetryInvest, the Symmetry Autumn of Code 2024 (#SAOC) is kicking off in September. We are now accepting applications. Get paid to contribute to the #dlang ecosystem!
https://t.co/lYbAlYqXSh
Early-bird registration for #DConf '24 was supposed to end on June 18th, but thanks to support from @weka, we're able to lock in the early-bird registration rate all the way to the start of the conference. Thanks WEKA!
https://t.co/dD0w9ppEYq
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!
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 https://t.co/BArqlCa0iV to show me what needs to happen.
#compilers #programminglanguages #programming