D code running on the Nintendo 3DS
ibuclaw at gdcproject.org
Sun Oct 20 15:27:35 UTC 2019
On Sun, 20 Oct 2019 at 08:10, TheGag96 via Digitalmars-d-announce
<digitalmars-d-announce at puremagic.com> wrote:
> Hi, all. I wanted to get into the world of 3DS homebrew, but I
> really didn't feel like coding in C or C++. So, through an effort
> of sheer will, I somehow got a hello world example written in D
> up and running, along with bindings for most of libctru and
> Included are instructions on how to set this up (although it's
> pretty hacky). I imagine one could easily start writing Switch
> homebrew in D by following most of these steps as well. Once GCC
> 10 comes out with an updated GDC, it might become a pretty
> attractive alternative to C/++ for such projects if some work is
> put into bindings and stuff.
> Hope someone finds this interesting!
Great stuff! Though I don't think you'll find much improvement in gdc
10 regarding switching off D features. Backported patches to make gdc
on parity with dmd as of April 2019 was done prior to the gdc 9
release. I'm not aware of much more being done regarding that other
than some extern(C) library functions being converted into templates,
and the C main function being moved to a common location in D runtime
(C main is not "compiled into" gdc unlike previous versions of dmd).
More information about the Digitalmars-d-announce