Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce
On Monday, 23 July 2018 at 06:00:14 UTC, Zheng (Vic) Luo wrote: Thank you for the suggestion. Previously I interned at a VR company and had some experiences writing code related to graphics, but I don't have any experience on embedded system programming, so I was wondering that do I need to bu

Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce
On Monday, 23 July 2018 at 06:24:04 UTC, Zheng (Vic) Luo wrote: Moreover, The term "dependency-free" in the project description often confuses me, because as a hardware-agnostic library the project does have to depend on external implementations like "sin"/"memset" or even "thread_start", and

Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce
On Monday, 23 July 2018 at 08:08:03 UTC, Mike Franklin wrote: You can those software building blocks in their own module, and let the user of the software rasterizer library link it their own implementation if they wish to deviate from the spirit of the proposal. Yikes! too many typos there.

Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce
On Monday, 23 July 2018 at 06:24:04 UTC, Zheng (Vic) Luo wrote: Should we assume a multi-threading model? I say, no. To get threads on microcontrollers, you typically first need to implement a Real-time Operating System (RTOS). If you want to implement an RTOS in D, and then build the rast

Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce
On Sunday, 22 July 2018 at 17:12:31 UTC, Ecstatic Coder wrote: 2/ Nuklear (https://github.com/vurtun/nuklear) Reading the documentation for Nuklear, I found this: https://rawgit.com/vurtun/nuklear/master/doc/nuklear.html#drawing To draw all draw commands accumulated over a frame you need y

Re: Symmetry Autumn of Code

2018-07-23 Thread Zheng Luo (Vic) via Digitalmars-d-announce
On Monday, 23 July 2018 at 08:08:03 UTC, Mike Franklin wrote: So, IMO, if you need to link in a library or object file that was not compiled from D code, then you're cheating. This is also one of the reasons why I suggested re-implementing software building blocks such as `memcpy`, `memset`, `

Re: Symmetry Autumn of Code

2018-07-23 Thread Ecstatic Coder via Digitalmars-d-announce
On Monday, 23 July 2018 at 09:09:40 UTC, Mike Franklin wrote: On Sunday, 22 July 2018 at 17:12:31 UTC, Ecstatic Coder wrote: 2/ Nuklear (https://github.com/vurtun/nuklear) Reading the documentation for Nuklear, I found this: https://rawgit.com/vurtun/nuklear/master/doc/nuklear.html#drawing

Re: Symmetry Autumn of Code

2018-07-23 Thread Ecstatic Coder via Digitalmars-d-announce
On Monday, 23 July 2018 at 08:08:03 UTC, Mike Franklin wrote: On Monday, 23 July 2018 at 06:24:04 UTC, Zheng (Vic) Luo wrote: Moreover, The term "dependency-free" in the project description often confuses me, because as a hardware-agnostic library the project does have to depend on external i

Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce
On Monday, 23 July 2018 at 09:52:54 UTC, Zheng (Vic) Luo wrote: Regarding floating point operations, I plan to use dmd.builtins/ldc.builtins instead of linking with libm. That reminds me. Something else to consider is that some of these microcontrollers don't have FPUs. Graphics libraries

Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce
On Monday, 23 July 2018 at 10:24:14 UTC, Ecstatic Coder wrote: But this BetterC minimalistic standard library (allocations, arrays, strings, slices, maps) is something which can be reused by many similar hardware-level projects. This is a project on its own, and as I said, I think it should

Re: Symmetry Autumn of Code

2018-07-23 Thread Zheng Luo (Vic) via Digitalmars-d-announce
On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote: Thanks to the sponsorship of Symmetry Investments, the D Language Foundation is happy to announce the Symmetry Autumn of Code! We're looking for three university students to hack on D this autumn, from September - January. We're al

Re: Symmetry Autumn of Code

2018-07-23 Thread Ecstatic Coder via Digitalmars-d-announce
On Monday, 23 July 2018 at 10:33:28 UTC, Mike Franklin wrote: On Monday, 23 July 2018 at 09:52:54 UTC, Zheng (Vic) Luo wrote: Regarding floating point operations, I plan to use dmd.builtins/ldc.builtins instead of linking with libm. That reminds me. Something else to consider is that some of

Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Parker via Digitalmars-d-announce
On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote: Spread the word! https://dlang.org/blog/symmetry-autumn-of-code/ Thanks to everyone for the project ideas, but I put the list on the Wiki for a reason. I'm always pressed for time, so if you have an idea for a project suggestion,

Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Parker via Digitalmars-d-announce
On Monday, 23 July 2018 at 13:02:33 UTC, Zheng (Vic) Luo wrote: Another issue of this program is that me, as an incoming graduate in the U.S., are prohibited to "work" in my first school year. (that law doesn't affect GSoC since summer is considered as the second school year). I'm not sure w

Re: Blogpost about the T.init problem

2018-07-23 Thread Nick Treleaven via Digitalmars-d-announce
On Wednesday, 11 July 2018 at 07:30:59 UTC, FeepingCreature wrote: To reproduce the format issue, try to print the struct with writefln!"%s"(MyDomainType()). I implemented the compile time format string checking by evaluating `format(fmtStr, Args.init)` at compile time and seeing if an except

Re: Symmetry Autumn of Code

2018-07-23 Thread bachmeier via Digitalmars-d-announce
On Monday, 23 July 2018 at 13:02:33 UTC, Zheng (Vic) Luo wrote: Another issue of this program is that me, as an incoming graduate in the U.S., are prohibited to "work" in my first school year. (that law doesn't affect GSoC since summer is considered as the second school year). I'm not sure whe

Re: Symmetry Autumn of Code

2018-07-23 Thread Laeeth Isharc via Digitalmars-d-announce
On Wednesday, 18 July 2018 at 10:42:04 UTC, Andre Pany wrote: On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote: Thanks to the sponsorship of Symmetry Investments, the D Language Foundation is happy to announce the Symmetry Autumn of Code! We're looking for three university student