Re: D code running on the Nintendo 3DS

2019-10-20 Thread TheGag96 via Digitalmars-d-announce
On Sunday, 20 October 2019 at 20:31:04 UTC, Johan wrote: (snip) Awesome, I just might try to get LDC working with this... On a different note, I'd really like a critique on a decision I made. Creating the bindings for libctru and citro3d was really tedious, partly because I made the

Re: D code running on the Nintendo 3DS

2019-10-20 Thread Johan via Digitalmars-d-announce
On Sunday, 20 October 2019 at 18:25:42 UTC, TheGag96 wrote: On Sunday, 20 October 2019 at 09:36:17 UTC, Johan Engelen wrote: Did you try with LDC? Just a wild guess but perhaps this triple will work: `-mtriple=armv6k-unknown-eabi`. -Johan I haven't yet, but I've been told also by someone

Re: D code running on the Nintendo 3DS

2019-10-20 Thread Iain Buclaw via Digitalmars-d-announce
On Sun, 20 Oct 2019 at 20:40, TheGag96 via Digitalmars-d-announce wrote: > > Darn... Are there any plans at some point in the future to add a > real -betterC sort of flag? It would be really really nice to be > able to compile something like... > > import std.bitmanip : bitfields; > > struct

Re: D code running on the Nintendo 3DS

2019-10-20 Thread Iain Buclaw via Digitalmars-d-announce
On Sun, 20 Oct 2019 at 20:40, TheGag96 via Digitalmars-d-announce wrote: > > On Sunday, 20 October 2019 at 15:27:35 UTC, Iain Buclaw wrote: > > 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

Re: D code running on the Nintendo 3DS

2019-10-20 Thread TheGag96 via Digitalmars-d-announce
On Sunday, 20 October 2019 at 17:40:04 UTC, Meta wrote: Awesome work. I used to hack around on my original NDS and thought about maybe trying to get D working on it, but didn't have sufficient time or motivation. I'll definitely play around with this. Last year I was able to get some C very

Re: D code running on the Nintendo 3DS

2019-10-20 Thread TheGag96 via Digitalmars-d-announce
On Sunday, 20 October 2019 at 15:27:35 UTC, Iain Buclaw wrote: 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

Re: D code running on the Nintendo 3DS

2019-10-20 Thread TheGag96 via Digitalmars-d-announce
On Sunday, 20 October 2019 at 09:36:17 UTC, Johan Engelen wrote: Did you try with LDC? Just a wild guess but perhaps this triple will work: `-mtriple=armv6k-unknown-eabi`. -Johan I haven't yet, but I've been told also by someone else to try! It would certainly be nice to have a true

Re: D code running on the Nintendo 3DS

2019-10-20 Thread Meta via Digitalmars-d-announce
On Sunday, 20 October 2019 at 06:06:48 UTC, TheGag96 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

Re: D at 20: Hits and Misses, and what I learned along the way Oct 19

2019-10-20 Thread Ethan via Digitalmars-d-announce
On Friday, 18 October 2019 at 01:37:01 UTC, Walter Bright wrote: Slides: https://digitalmars.com/articles/hits.pdf Tangent time. In regards to floating point: Unable to convince people that more precision is worthwhile I'm actually waiting for quad floats to have hardware support.

Re: D code running on the Nintendo 3DS

2019-10-20 Thread Iain Buclaw via Digitalmars-d-announce
On Sun, 20 Oct 2019 at 17:27, Iain Buclaw wrote: > > On Sun, 20 Oct 2019 at 08:10, TheGag96 via Digitalmars-d-announce > 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

Re: D code running on the Nintendo 3DS

2019-10-20 Thread Iain Buclaw via Digitalmars-d-announce
On Sun, 20 Oct 2019 at 08:10, TheGag96 via Digitalmars-d-announce 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

Re: D code running on the Nintendo 3DS

2019-10-20 Thread Pander via Digitalmars-d-announce
On Sunday, 20 October 2019 at 06:06:48 UTC, TheGag96 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

DIP 1021--Argument Ownership and Function Calls--Formal Assessment

2019-10-20 Thread Mike Parker via Digitalmars-d-announce
DIP 1021, "Argument Ownership and Function Calls", has been formally accepted with minor revision. It was updated to make clear that the proposal is one piece of a bigger plan. https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1021.md

Re: D code running on the Nintendo 3DS

2019-10-20 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 20 October 2019 at 06:06:48 UTC, TheGag96 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

D code running on the Nintendo 3DS

2019-10-20 Thread TheGag96 via Digitalmars-d-announce
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 citro3d.