Re: From the D Blog: Driving with D

2021-07-17 Thread Dylan Graham via Digitalmars-d-announce
On Saturday, 17 July 2021 at 00:56:24 UTC, zjh wrote: On Tuesday, 1 June 2021 at 11:57:34 UTC, Mike Parker wrote: Dylan Graham writes about his experience using D in a I have translate this article into `chinese`: [用d开车](https://fqbqrr.blog.csdn.net/article/details/118571177) Thank you so

Re: record: C# like records for D

2021-07-16 Thread Dylan Graham via Digitalmars-d-announce
On Friday, 16 July 2021 at 19:37:53 UTC, Steven Schveighoffer wrote: On 7/16/21 10:52 AM, Dylan Graham wrote: On Friday, 16 July 2021 at 13:54:36 UTC, vit wrote: What adventage has record over normal immutable/const class? In terms of mutability, none. The duplicate method, however, lets

Re: From the D Blog: Driving with D

2021-07-16 Thread Dylan Graham via Digitalmars-d-announce
On Tuesday, 1 June 2021 at 11:57:34 UTC, Mike Parker wrote: Dylan Graham writes about his experience using D in a microcontroller project and why he chose it. Does anyone know of any similar projects using D? I don't. This may well be the first time it's been employed in this specific manner.

Re: record: C# like records for D

2021-07-16 Thread Dylan Graham via Digitalmars-d-announce
On Friday, 16 July 2021 at 13:54:36 UTC, vit wrote: On Wednesday, 14 July 2021 at 23:16:05 UTC, Dylan Graham wrote: [DUB](https://code.dlang.org/packages/record) [Github](https://github.com/hmmdyl/record) This is record. It aims to implement records similar to what C# has by leveraging D's

Re: record: C# like records for D

2021-07-16 Thread Dylan Graham via Digitalmars-d-announce
On Friday, 16 July 2021 at 13:14:22 UTC, Dylan Graham wrote: On Wednesday, 14 July 2021 at 23:16:05 UTC, Dylan Graham wrote: [DUB](https://code.dlang.org/packages/record) [Github](https://github.com/hmmdyl/record) ```D module myapp; class A{} auto MyRecord = record!(get!(A, "a")); // would

Re: record: C# like records for D

2021-07-16 Thread Dylan Graham via Digitalmars-d-announce
On Wednesday, 14 July 2021 at 23:16:05 UTC, Dylan Graham wrote: [DUB](https://code.dlang.org/packages/record) [Github](https://github.com/hmmdyl/record) Found and squashed some critical bugs. Thanks to Adam and Rikki for the help. Before, record would throw a compilation error due when

Re: record: C# like records for D

2021-07-15 Thread Dylan Graham via Digitalmars-d-announce
On Wednesday, 14 July 2021 at 23:16:05 UTC, Dylan Graham wrote: ... init-only-setters like in C#, wherein at the end of construction or duplication, the init lambda for the field is called, and the field can be set that once. This has been implemented with `get_compute`. Example: ```D alias

Re: record: C# like records for D

2021-07-15 Thread Dylan Graham via Digitalmars-d-announce
On Wednesday, 14 July 2021 at 23:16:05 UTC, Dylan Graham wrote: [DUB](https://code.dlang.org/packages/record) [Github](https://github.com/hmmdyl/record) record now has support for custom default initialisers. Example: ```D import drecord; alias DefaultRecord = record!( // The third

record: C# like records for D

2021-07-14 Thread Dylan Graham via Digitalmars-d-announce
[DUB](https://code.dlang.org/packages/record) [Github](https://github.com/hmmdyl/record) This is record. It aims to implement records similar to what C# has by leveraging D's metaprogramming. [C# Example 1](https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/types/records) [C# Example

Re: LWDR (Light Weight D Runtime) v0.3.0

2021-07-09 Thread Dylan Graham via Digitalmars-d-announce
On Friday, 9 July 2021 at 14:30:07 UTC, lili wrote: Great Work! Thanks! Why standard D Runtime can not run on MCU? The standard D Runtime is reliant on a fully-fledged OS, which don't fit onto small embedded devices and [they're incompatible with

Re: LWDR (Light Weight D Runtime) v0.3.0

2021-06-19 Thread Dylan Graham via Digitalmars-d-announce
On Saturday, 19 June 2021 at 13:31:11 UTC, Dylan Graham wrote: [Github](https://github.com/0dyl/LWDR) [DUB](https://code.dlang.org/packages/lwdr) [Previous announcement](https://forum.dlang.org/post/giigcnoyxfoxxaevj...@forum.dlang.org) Once LWDR is stable enough, I want the next version to

LWDR (Light Weight D Runtime) v0.3.0

2021-06-19 Thread Dylan Graham via Digitalmars-d-announce
[Github](https://github.com/0dyl/LWDR) [DUB](https://code.dlang.org/packages/lwdr) [Previous announcement](https://forum.dlang.org/post/giigcnoyxfoxxaevj...@forum.dlang.org) LWDR (Light Weight D Runtime) is a ground-up implementation of a D runtime targeting the ARM Cortex-M microcontrollers

Re: From the D Blog: Driving with D

2021-06-05 Thread Dylan Graham via Digitalmars-d-announce
On Thursday, 3 June 2021 at 09:14:52 UTC, Piotrek wrote: On Tuesday, 1 June 2021 at 11:57:34 UTC, Mike Parker wrote: Dylan Graham writes about his experience using D in a microcontroller project and why he chose it. Does anyone know of any similar projects using D? I don't. This may well be

Re: From the D Blog: Driving with D

2021-06-01 Thread Dylan Graham via Digitalmars-d-announce
On Tuesday, 1 June 2021 at 14:46:06 UTC, Steven Schveighoffer wrote: On 6/1/21 7:57 AM, Mike Parker wrote: Dylan Graham writes about his experience using D in a microcontroller project and why he chose it. Does anyone know of any similar projects using D? I don't. This may well be the first

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-31 Thread Dylan Graham via Digitalmars-d-announce
On Monday, 31 May 2021 at 15:41:12 UTC, Imperatorn wrote: On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Github: https://github.com/0dyl/LWDR DUB: https://code.dlang.org/packages/lwdr [...] Well done sir! Keep it up ☀️ Thank you :)

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-31 Thread Dylan Graham via Digitalmars-d-announce
On Monday, 31 May 2021 at 11:16:01 UTC, Iain Buclaw wrote: Good to see this work come to fruition. First thing I stumbled across was a [mispelling](https://github.com/0dyl/LWDR/blob/eb5de110ba2cff4bd0e654e8a68b59fc5eb76157/source/rtoslink.d#L14) of one of the RTOS hooks. I'll get on it!

Re: GCC 11.1 Released

2021-05-31 Thread Dylan Graham via Digitalmars-d-announce
On Thursday, 27 May 2021 at 01:04:37 UTC, Iain Buclaw wrote: Hi, Sponsored :) Very excited for GDC 12!

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-31 Thread Dylan Graham via Digitalmars-d-announce
On Monday, 31 May 2021 at 01:16:46 UTC, rikki cattermole wrote: On 31/05/2021 1:05 PM, Dylan Graham wrote: I haven't put any thought into the license. Since LWDR is derived from DRuntime, I assume I'll have to use its license. If not, I'd like to go with something permissive like MIT. Boost

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Github: https://github.com/0dyl/LWDR DUB: https://code.dlang.org/packages/lwdr As for my next steps, I'm going to look at implementing TLS variables. It doesn't look too difficult.

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 17:31:37 UTC, Dukc wrote: On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Hi, all! This is LWDR (Light Weight D Runtime) It is a ground-up implementation of a D runtime targeting the ARM Cortex-M microcontrollers and other microcontroller platforms with

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 15:35:34 UTC, Guillaume Piolat wrote: On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: LWDR currently supports the following language features: - Class allocations and deallocations (via new and delete) - Struct heap allocations and deallocations (via new

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 15:07:54 UTC, Denis Feklushkin wrote: Nice job! Are you tried compile apps with Phobos? Thank you! No, I haven't tried any of Phobos yet. It should work, but will leak like a sieve. I need to develop a solution that tracks memory allocations and exposes a

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Github: https://github.com/0dyl/LWDR DUB: https://code.dlang.org/packages/lwdr I added a Wiki tutorial on compiling with LDC and DUB (which is how I currently test LWDR). It's about 12:53 AM AEST, so I'm heading to bed. I plan on

LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
Github: https://github.com/0dyl/LWDR DUB: https://code.dlang.org/packages/lwdr Hi, all! This is LWDR (Light Weight D Runtime) It is a ground-up implementation of a D runtime targeting the ARM Cortex-M microcontrollers and other microcontroller platforms with RTOSes (Real Time Operating

Re: Beerconf March 2021

2021-03-27 Thread Dylan Graham via Digitalmars-d-announce
On Saturday, 13 March 2021 at 20:27:13 UTC, Steven Schveighoffer wrote: Hi all! It's that wonderful time of month again. Beerconf is happening on the 27th and 28th. I'll be participating probably only on the 27th. Bring your brews/other and D topics/other and we'll discuss things. A

Re: Visual D 1.1.0 released

2021-03-26 Thread Dylan Graham via Digitalmars-d-announce
On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote: Hi, development on Visual D, the Visual Studio extension that adds D language support to VS 2008-2019, has been rather slow recently, but finally the results of recent months have been released. [...] Thanks for update. I

Re: beerconf September!

2020-09-26 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 27 September 2020 at 00:48:34 UTC, Steven Schveighoffer wrote: On 9/12/20 4:56 PM, Steven Schveighoffer wrote: This time, we will try to keep a running tally of things discussed, and post back here (this was something asked about on slack, and I think it's a good idea). Here is

Re: Visual D 0.52.0 released

2020-03-23 Thread Dylan Graham via Digitalmars-d-announce
On Monday, 23 March 2020 at 09:54:46 UTC, Rainer Schuetze wrote: Hi, a new version of Visual D, the Visual Studio extension that adds D language support to VS2008-2019, is available at [...] Nvm it didn't hang. Just took a very long time to complete semantic highlighting.

Re: Visual D 0.52.0 released

2020-03-23 Thread Dylan Graham via Digitalmars-d-announce
On Monday, 23 March 2020 at 09:54:46 UTC, Rainer Schuetze wrote: Hi, a new version of Visual D, the Visual Studio extension that adds D language support to VS2008-2019, is available at https://rainers.github.io/visuald/visuald/StartPage.html Major highlights of this release are -

Re: Visual D 0.52.0 released

2020-03-23 Thread Dylan Graham via Digitalmars-d-announce
On Monday, 23 March 2020 at 09:54:46 UTC, Rainer Schuetze wrote: Hi, a new version of Visual D, the Visual Studio extension that adds D language support to VS2008-2019, is available at [...] This is awesome! Thank you so much for this. I use Visual D all the time. Keep up the great work

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 11 March 2018 at 04:06:13 UTC, Nick Sabalausky (Abscissa) wrote: On 03/10/2018 05:47 AM, Dylan Graham wrote: On Saturday, 10 March 2018 at 10:05:49 UTC, rumbu wrote: According to the State of D Survey, 71% of the respondents don't care about betterC. Why is betterC on the priority

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 11 March 2018 at 02:02:15 UTC, psychoticRabbit wrote: On Sunday, 11 March 2018 at 01:58:50 UTC, psychoticRabbit wrote: i.e. How can the D Foundation encourage new additional resoures to focus on things that also matter to the community. and btw. the mention about strengthing

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 11 March 2018 at 01:50:22 UTC, Mike Parker wrote: On Sunday, 11 March 2018 at 01:36:51 UTC, Dylan Graham wrote: The D Language Foundation, being the leading body of D, should hold some responsibility to the interests of the majority. Please read my post from earlier:

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 11 March 2018 at 01:41:33 UTC, psychoticRabbit wrote: On Sunday, 11 March 2018 at 01:25:07 UTC, Dylan Graham wrote: I'm not sure what you mean at that last sentence. I mean, cause D is so compatible with C/C++/Java/C# - that you can easily switch between them. Whereas as Go and

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 11 March 2018 at 01:45:01 UTC, psychoticRabbit wrote: On Sunday, 11 March 2018 at 01:36:51 UTC, Dylan Graham wrote: The D Language Foundation, being the leading body of D, should hold some responsibility to the interests of the majority. And also the minority. A lesson that

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 11 March 2018 at 01:21:27 UTC, psychoticRabbit wrote: On Sunday, 11 March 2018 at 01:06:08 UTC, R wrote: Point to the wall on the left side. That is what your talking to. D its focus on C++ as a bad plan has been made pushed by many people ( lots who left ). Its like asking Go for

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 11 March 2018 at 01:10:28 UTC, psychoticRabbit wrote: On Sunday, 11 March 2018 at 00:36:19 UTC, Dylan Graham wrote: Every day D becomes more like C++ 2.0, why can't it just be D? Oddly enough, I think this is D's strength. I really don't. Golang tried to draw the line, and look

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 11 March 2018 at 01:06:08 UTC, R wrote: On Sunday, 11 March 2018 at 00:36:19 UTC, Dylan Graham wrote: Well, no. I'm more concerned with the fact that the D Language Foundation is focused on BetterC, yet does not mention DLLs at all. For God's sake, if D is the future, why does it

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 11 March 2018 at 00:36:19 UTC, Dylan Graham wrote: On Saturday, 10 March 2018 at 11:07:56 UTC, psychoticRabbit wrote: On Saturday, 10 March 2018 at 10:47:09 UTC, Dylan Graham wrote: [Omitted] I also would like to point out that I don't care if some open-source developers decide

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Saturday, 10 March 2018 at 11:07:56 UTC, psychoticRabbit wrote: On Saturday, 10 March 2018 at 10:47:09 UTC, Dylan Graham wrote: Yeah. Why should D worry about tying itself into C when it can't even interface with itself through DLLs? A reasonable point. But.. in any case.. people work

Re: Vision document for H1 2018

2018-03-10 Thread Dylan Graham via Digitalmars-d-announce
On Saturday, 10 March 2018 at 10:05:49 UTC, rumbu wrote: On Friday, 9 March 2018 at 21:43:53 UTC, Andrei Alexandrescu wrote: Hello, the vision document of the Founation for the first six months of 2018 is here: https://wiki.dlang.org/Vision/2018H1 According to the State of D Survey, 71% of