Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-29 Thread Julian Fondren via Digitalmars-d-announce
On Thursday, 26 October 2023 at 03:39:19 UTC, Walter Bright wrote: I've heard from an expert insider source that Scala macros destroyed the language. The worst stuff I've ever heard about Scala, apart from compile-speed anecdotes, is "Scala Collections: Why Not?"

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-29 Thread Walter Bright via Digitalmars-d-announce
On 10/28/2023 1:54 PM, bachmeier wrote: I wonder if Walter has an opinion on this. In a .c file: It looks like the author is self-taught with little exposure to other programmers.

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-28 Thread bachmeier via Digitalmars-d-announce
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: It's been a long, long while since I published anything on the blog. I do intend to get pick it up again down the road, but Walter recently surprised me with plans of his own. He's taken the topic of his DConf '23 talk and derived a

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-26 Thread Salih Dincer via Digitalmars-d-announce
On Saturday, 7 October 2023 at 12:37:37 UTC, sighoya wrote: I disagree however in all binary types should be just boolean. I prefer machineState=State.On or State.Off than isMachineOn=true or false. This was finished possible: ```d import std; enum State : bool {  Off, On } void main() {

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-26 Thread Walter Bright via Digitalmars-d-announce
On 10/26/2023 2:30 AM, John Colvin wrote: Good talk. Many very clever people would achieve more if they tried to understand why a v. experienced developer would care to spend so much time talking about what might appear to be such basic points. The key challenge: If this stuff was so

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-26 Thread John Colvin via Digitalmars-d-announce
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: It's been a long, long while since I published anything on the blog. I do intend to get pick it up again down the road, but Walter recently surprised me with plans of his own. He's taken the topic of his DConf '23 talk and derived a

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-26 Thread Imperatorn via Digitalmars-d-announce
On Thursday, 26 October 2023 at 03:15:00 UTC, Walter Bright wrote: On 10/4/2023 12:50 PM, claptrap wrote: Yes he can do what he likes, nobody has the right to demand anything from him. But his position and experience and knowledge is such that him doing a talk on coding guidelines is

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-25 Thread Walter Bright via Digitalmars-d-announce
On 10/3/2023 8:10 AM, matheus wrote: I understand the advantages of the UFCS, I was just pointing out that the example given in that post are NOT equivalent, if it was deliberated or not I don't know, but I think it was just a small mistake, otherwise the author woundn't say they are

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-25 Thread Walter Bright via Digitalmars-d-announce
On 10/18/2023 11:51 AM, Max Samukha wrote: On Tuesday, 3 October 2023 at 19:03:00 UTC, Walter Bright wrote: $0. true It's one reason why donations to the DLF go a long way. We try hard to squeeze the most out of every dollar.

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-25 Thread Walter Bright via Digitalmars-d-announce
On 10/8/2023 6:21 AM, sighoya wrote: I have another thing to add. You argued about reasons not to use macros but these reasons don't apply to AST Macros, they won't allow constructing new languages like in Lisp or in Neat. Typed AST Macros would only accept parseable D source code with

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-25 Thread Walter Bright via Digitalmars-d-announce
On 10/7/2023 5:37 AM, sighoya wrote: Thanks, I think we need more of this as D has become a large language already. There were some points I even never considered before. I'm glad it's a win for you! I disagree however in all binary types should be just boolean. I prefer

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-25 Thread Walter Bright via Digitalmars-d-announce
On 10/5/2023 10:21 AM, angel wrote: I don't mind if it does not compile without the `ref`, but it should be on the table - WYSIWYG. It's a good point. Consider the refactoring angle. If I wished to switch from a struct to a class, and vice versa, and can just change the definition. If `ref`

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-25 Thread Walter Bright via Digitalmars-d-announce
On 10/5/2023 6:30 AM, claptrap wrote: While I agree with the overall gist I didn't find his examples very interesting or convincing. They were pretty much all made up to illustrate, outdated, or disingenuous (the first one with the intentionally obfuscated code). I know they look trivial, but

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-25 Thread Walter Bright via Digitalmars-d-announce
On 10/4/2023 5:53 PM, claptrap wrote: I have never once said he cant talk about whatever he wants to, I've explicitly said the opposite. All I said is that by virtue of who he is has more interesting things to talk about than whether "enum { yes, no }" is a good idea or not. When I stop

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-25 Thread Walter Bright via Digitalmars-d-announce
On 10/4/2023 12:50 PM, claptrap wrote: Yes he can do what he likes, nobody has the right to demand anything from him. But his position and experience and knowledge is such that him doing a talk on coding guidelines is disappointing. Considering how few people follow the coding guidelines I

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-18 Thread Max Samukha via Digitalmars-d-announce
On Tuesday, 3 October 2023 at 19:03:00 UTC, Walter Bright wrote: $0. true

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-08 Thread sighoya via Digitalmars-d-announce
On Sunday, 8 October 2023 at 13:21:12 UTC, sighoya wrote: On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: [...] I have another thing to add. You argued about reasons not to use macros but these reasons don't apply to AST Macros, they won't allow constructing new languages like

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-08 Thread sighoya via Digitalmars-d-announce
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: [...] I have another thing to add. You argued about reasons not to use macros but these reasons don't apply to AST Macros, they won't allow constructing new languages like in Lisp or in Neat. Typed AST Macros would only accept

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-07 Thread sighoya via Digitalmars-d-announce
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: It's been a long, long while since I published anything on the blog. I do intend to get pick it up again down the road, but Walter recently surprised me with plans of his own. He's taken the topic of his DConf '23 talk and derived a

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-05 Thread angel via Digitalmars-d-announce
I think if `class` is a reference type, it should've been explicit: ```sh class C { ... } auto obj = new C(); void func(ref C obj) { ... } ``` I don't mind if it does not compile without the `ref`, but it should be on the table - WYSIWYG.

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-05 Thread claptrap via Digitalmars-d-announce
On Thursday, 5 October 2023 at 08:46:50 UTC, Dom DiSc wrote: On Thursday, 5 October 2023 at 00:53:45 UTC, claptrap wrote: [...] he is has more interesting things to talk about than whether "enum { yes, no }" is a good idea or not. His point here was not that having an enum with values for yes

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-05 Thread Dom DiSc via Digitalmars-d-announce
On Thursday, 5 October 2023 at 00:53:45 UTC, claptrap wrote: [...] he is has more interesting things to talk about than whether "enum { yes, no }" is a good idea or not. His point here was not that having an enum with values for yes and no is a bad idea. The bad idea is assigning yes the

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-04 Thread claptrap via Digitalmars-d-announce
On Wednesday, 4 October 2023 at 21:03:14 UTC, bachmeier wrote: On Wednesday, 4 October 2023 at 19:50:55 UTC, claptrap wrote: On Wednesday, 4 October 2023 at 12:50:16 UTC, bachmeier wrote: On Wednesday, 4 October 2023 at 07:26:25 UTC, claptrap wrote: I personally found this talk very

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-04 Thread bachmeier via Digitalmars-d-announce
On Wednesday, 4 October 2023 at 19:50:55 UTC, claptrap wrote: On Wednesday, 4 October 2023 at 12:50:16 UTC, bachmeier wrote: On Wednesday, 4 October 2023 at 07:26:25 UTC, claptrap wrote: I personally found this talk very disappointing. Walter is the head honcho and he's giving talks on

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-04 Thread claptrap via Digitalmars-d-announce
On Wednesday, 4 October 2023 at 12:50:16 UTC, bachmeier wrote: On Wednesday, 4 October 2023 at 07:26:25 UTC, claptrap wrote: I personally found this talk very disappointing. Walter is the head honcho and he's giving talks on coding guidelines? Its like visiting the F1 engineering workshop

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-04 Thread bachmeier via Digitalmars-d-announce
On Wednesday, 4 October 2023 at 07:26:25 UTC, claptrap wrote: I personally found this talk very disappointing. Walter is the head honcho and he's giving talks on coding guidelines? Its like visiting the F1 engineering workshop and getting a talk on health and safety. Tell us the engine,

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-04 Thread claptrap via Digitalmars-d-announce
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: It's been a long, long while since I published anything on the blog. I do intend to get pick it up again down the road, but Walter recently surprised me with plans of his own. He's taken the topic of his DConf '23 talk and derived a

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread Mike Parker via Digitalmars-d-announce
On Tuesday, 3 October 2023 at 13:39:33 UTC, user1234 wrote: A message specifically dedicated for you, Mike. According to me there is a problem in the blog. Author and publication date should be put on top of an entry (currently the information are only at the bottom). Yes, I agree. That's

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
On 04/10/2023 8:03 AM, Walter Bright wrote: On 10/3/2023 12:36 AM, Max Samukha wrote: 'No hire' for language designers who design sum types to be implicitly enumerated and convertible to integers and booleans? There's a reason my salary from the D Foundation is $0. As long as its the tag

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread Walter Bright via Digitalmars-d-announce
On 10/3/2023 12:36 AM, Max Samukha wrote: 'No hire' for language designers who design sum types to be implicitly enumerated and convertible to integers and booleans? There's a reason my salary from the D Foundation is $0.

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread Walter Bright via Digitalmars-d-announce
HN front page, too! https://news.ycombinator.com/news

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread bachmeier via Digitalmars-d-announce
On Tuesday, 3 October 2023 at 12:01:56 UTC, Martyn wrote: Agreed. Even though I do like UFCS, I find the above confusing to follow despite being more pleasing to the eye. I had to break it down and, as Matheus already pointed out, looked incorrect. I normally avoid writing code like

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread matheus via Digitalmars-d-announce
On Tuesday, 3 October 2023 at 13:39:33 UTC, user1234 wrote: On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: It's been a long, long while since I published anything on the blog. I do intend to get pick it up again down the road, but Walter recently surprised me with plans of his

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread matheus via Digitalmars-d-announce
On Tuesday, 3 October 2023 at 13:33:29 UTC, Dom DiSc wrote: On Tuesday, 3 October 2023 at 10:39:19 UTC, matheus wrote: I the first example "e" is receiving two arguments. While in the latter "d" is being receiving whatever "c" returns and "3". That's the point. In UFCS it is immediately

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread user1234 via Digitalmars-d-announce
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: It's been a long, long while since I published anything on the blog. I do intend to get pick it up again down the road, but Walter recently surprised me with plans of his own. He's taken the topic of his DConf '23 talk and derived a

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread Dom DiSc via Digitalmars-d-announce
On Tuesday, 3 October 2023 at 10:39:19 UTC, matheus wrote: I the first example "e" is receiving two arguments. While in the latter "d" is being receiving whatever "c" returns and "3". That's the point. In UFCS it is immediately obvious which function receives the 3, while with all the

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread zjh via Digitalmars-d-announce
On Tuesday, 3 October 2023 at 03:17:44 UTC, zjh wrote: Nice! [chinese version](https://fqbqrr.blog.csdn.net/article/details/133522267).

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread Martyn via Digitalmars-d-announce
On Tuesday, 3 October 2023 at 10:39:19 UTC, matheus wrote: Nice article but I think that I found a bug: g(f(e(d(c(b(a))),3))); a.b.c.d(3).e.f.g; "That’s the equivalent, but execution flows clearly left-to-right. Is this an extreme example, or the norm?" Well I don't think they're

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread rassoc via Digitalmars-d-announce
On 03.10.23 09:36, Max Samukha via Digitalmars-d-announce wrote: 'No hire' for language designers who design sum types to be implicitly enumerated and convertible to integers and booleans? import std.typecons; void main() => assert(Yes.mate_hiringRedFlag);

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread matheus via Digitalmars-d-announce
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: It's been a long, long while since I published anything on the blog. I do intend to get pick it up again down the road, but Walter recently surprised me with plans of his own. He's taken the topic of his DConf '23 talk and derived a

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-03 Thread Max Samukha via Digitalmars-d-announce
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: https://www.reddit.com/r/programming/comments/16y2h36/crafting_selfevident_code_in_dlang/ 'enum { Yes, No }; is just an automatic “no hire” decision' 'No hire' for language designers who design sum types to be implicitly

Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-02 Thread zjh via Digitalmars-d-announce
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote: It's been a long, long while since I published anything on the blog. Nice!

From the D Blog: Crafting Self-Evident Code in D

2023-10-02 Thread Mike Parker via Digitalmars-d-announce
It's been a long, long while since I published anything on the blog. I do intend to get pick it up again down the road, but Walter recently surprised me with plans of his own. He's taken the topic of his DConf '23 talk and derived a blog post from it:

Re: On the D Blog --- DIP1000: Memory Safety in a Modern Systems Language Part 2

2022-10-09 Thread zjh via Digitalmars-d-announce
On Saturday, 8 October 2022 at 15:33:59 UTC, Mike Parker wrote: ... `Good` article.

On the D Blog --- DIP1000: Memory Safety in a Modern Systems Language Part 2

2022-10-08 Thread Mike Parker via Digitalmars-d-announce
Ate Eskola continues his DIP 1000 tutorial series on the blog. Part 1 covered slices and pointers. In Part 2, he explains how it all works with references. I want to thank Ate for his patience and his time with this one. He sent me the first draft of this several weeks ago, and it went

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-16 Thread jmh530 via Digitalmars-d-announce
On Monday, 15 August 2022 at 15:08:01 UTC, Adam D Ruppe wrote: [...] It's one of those things where it is better for learning a language when there are a smaller number of orthogonal features that can be built up into more complex things. @safe, pure, etc. are good, but feel a bit hackish

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-16 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 16 August 2022 at 14:57:04 UTC, Guillaume Piolat wrote: I know it isn't really related, but currently on DUB there is 4 different @nogc nothrow string library, -betterC or not, friendly licence or not, with various tradeoffs, and I'm about to add another one. Yeah. I think some

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-16 Thread rikki cattermole via Digitalmars-d-announce
On 17/08/2022 3:05 AM, Guillaume Piolat wrote: On Tuesday, 16 August 2022 at 15:01:05 UTC, rikki cattermole wrote: But one key difference is it is designed to work with the GC even if it is -betterC @nogc @safe nothrow. How do you do that? Via dub's injectSourceFiles (that I added).

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-16 Thread Guillaume Piolat via Digitalmars-d-announce
On Tuesday, 16 August 2022 at 15:01:05 UTC, rikki cattermole wrote: But one key difference is it is designed to work with the GC even if it is -betterC @nogc @safe nothrow. How do you do that?

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-16 Thread rikki cattermole via Digitalmars-d-announce
And I'm building another. Allocators already working, tons of Unicode stuff implemented. Working on string builders atm. But one key difference is it is designed to work with the GC even if it is -betterC @nogc @safe nothrow.

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-16 Thread Guillaume Piolat via Digitalmars-d-announce
On Monday, 15 August 2022 at 15:08:01 UTC, Adam D Ruppe wrote: In my blog this week, I described an idea I've had percolating in my brain for a bit about a user-defined effect system that could potentially move nogc, safe, pure, etc to library aliases - which would let you combine them as a

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-15 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 15 August 2022 at 16:16:35 UTC, Sönke Ludwig wrote: The most prominent example would be something like vibe.d's `@blocking`, which currently just acts as documentation, but would be really useful if something like `@nonblocking` could actually be enforced at compile time - currently

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-15 Thread Sönke Ludwig via Digitalmars-d-announce
Am 15.08.2022 um 17:08 schrieb Adam D Ruppe: In my blog this week, I described an idea I've had percolating in my brain for a bit about a user-defined effect system that could potentially move nogc, safe, pure, etc to library aliases - which would let you combine them as a fun bonus - among

my d blog has idea of effect system to replace @nogc etc

2022-08-15 Thread Adam D Ruppe via Digitalmars-d-announce
In my blog this week, I described an idea I've had percolating in my brain for a bit about a user-defined effect system that could potentially move nogc, safe, pure, etc to library aliases - which would let you combine them as a fun bonus - among other things:

Re: From the D Blog -- Interfacing D with C: Strings Part One

2022-07-25 Thread Mike Parker via Digitalmars-d-announce
On Monday, 25 July 2022 at 02:59:41 UTC, electricface wrote: https://forum.dlang.org/post/gsztclsvxdhnvfhbi...@forum.dlang.org Looking forward to part 2 and part 3 Me, too! I'm hoping to make time for this and a couple of other series that are long overdue for updates before the end of

From the D Blog -- Interfacing D with C: Strings Part One

2022-07-24 Thread electricface via Digitalmars-d-announce
https://forum.dlang.org/post/gsztclsvxdhnvfhbi...@forum.dlang.org On Thursday, 27 May 2021 at 03:54:11 UTC, Виталий Фадеев wrote: On Thursday, 27 May 2021 at 03:52:32 UTC, Виталий Фадеев wrote: On Thursday, 27 May 2021 at 03:40:02 UTC, Виталий Фадеев wrote: On Wednesday, 26 May 2021 at

Re: On the D Blog: News for Jan-Mar, 2022

2022-04-10 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 7 April 2022 at 13:02:26 UTC, Mike Parker wrote: Korpel. I'll have the video version published on our YouTube channel within the next couple of days, and I'll link to it in this thread. The video version is available here: https://youtu.be/rdHWTfi9-3M Before someone points

On the D Blog: News for Jan-Mar, 2022

2022-04-07 Thread Mike Parker via Digitalmars-d-announce
I've written a bit for the blog about the major announcements that many of you will already have seen here over the course of January to March: the conclusion of SAOC 2021, the release of DMD 2.099.0, the DConf announcements, and the hiring of Dennis Korpel. I'll have the video version

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-03 Thread Abdulhaq via Digitalmars-d-announce
On Wednesday, 2 February 2022 at 23:03:57 UTC, Kyle wrote: I thought this was a great example of a sweet spot for D. I had similar work in mind way back when, and started writing a Qt and VTK (data visualisation) wrapper to work towards this. I'm wondering what they used for the visualisation

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Kyle via Digitalmars-d-announce
to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/ I thought this was a great

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Dukc via Digitalmars-d-announce
about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/ This reminds me about SARC. They use D for hydrodynamics software because (among other reasons

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Feb 02, 2022 at 11:40:09AM -0500, Steven Schveighoffer via Digitalmars-d-announce wrote: [...] > D error messages can be bad. Especially when you are using lots of > range wrappers. It all depends on what you use. [...] True. I've had my fair share of WAT moments with D error messages.

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Sergey via Digitalmars-d-announce
to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/ I thought this was a great

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Steven Schveighoffer via Digitalmars-d-announce
On 2/2/22 11:32 AM, H. S. Teoh wrote: On Wed, Feb 02, 2022 at 08:14:32AM +, Mike Parker via Digitalmars-d-announce wrote: [...] https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ [...] Favorite quote: "Good error messages from the compiler. We often used to be

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 2 February 2022 at 16:32:26 UTC, H. S. Teoh wrote: Interesting that the author(s) found D error messages better than C++, in spite of frequent complaints about error messages here in the forums. :-P No incompatibility there: "better than C++" is a very low bar.

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Feb 02, 2022 at 08:14:32AM +, Mike Parker via Digitalmars-d-announce wrote: [...] > https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ [...] Favorite quote: "Good error messages from the compiler. We often used to be overwhelmed by the C++ template error

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Steven Schveighoffer via Digitalmars-d-announce
On 2/2/22 3:14 AM, Mike Parker wrote: The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Abdulhaq via Digitalmars-d-announce
about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/ I thought this was a great example of a sweet spot for D. I had similar work in mind way back

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Paulo Pinto via Digitalmars-d-announce
++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/ And HN, https://dlang.org

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Paulo Pinto via Digitalmars-d-announce
about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/ And HN, https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/

On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Mike Parker via Digitalmars-d-announce
The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02

Re: From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread max haughton via Digitalmars-d-announce
On Monday, 24 January 2022 at 22:59:18 UTC, Adam Ruppe wrote: On Monday, 24 January 2022 at 22:45:14 UTC, Ali Çehreli wrote: I am not aware of any association between "alpha" and "man" because I hear both "alpha male" and "alpha female" in e.g. nature documentaries. It isn't really accurate

Re: From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Walter Bright via Digitalmars-d-announce
On 1/24/2022 1:57 PM, Moth wrote: first: how exactly does assembly output relate to moisture vaporators? Vaporators run on compiled code, so do understand the binary code of vaporators, you'll need a disassembler. I wanted to make looking at the binary code easy and fun. second: what on

Re: From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Adam Ruppe via Digitalmars-d-announce
On Monday, 24 January 2022 at 22:45:14 UTC, Ali Çehreli wrote: I am not aware of any association between "alpha" and "man" because I hear both "alpha male" and "alpha female" in e.g. nature documentaries. It isn't really accurate in nature either and when used with people it tends to be

Re: From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Ali Çehreli via Digitalmars-d-announce
On 1/24/22 13:57, Moth wrote: >> Reddit: >> https://www.reddit.com/r/programming/comments/sbn7n6/the_binary_language_of_moisture_vaporators/ > first: how exactly does assembly output relate to moisture vaporators? Someone answered that question on the ycombinator thread. They included

Re: From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Moth via Digitalmars-d-announce
On Monday, 24 January 2022 at 14:22:21 UTC, Mike Parker wrote: Some of you may be aware that Walter recently added a disassembler to DMD. He writes about it in his latest post for the D blog. The blog: https://dlang.org/blog/2022/01/24/the-binary-language-of-moisture-vaporators/ Reddit

Re: From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Walter Bright via Digitalmars-d-announce
On 1/24/2022 10:22 AM, Imperatorn wrote: On Monday, 24 January 2022 at 14:22:21 UTC, Mike Parker wrote: Some of you may be aware that Walter recently added a disassembler to DMD. He writes about it in his latest post for the D blog. The blog: https://dlang.org/blog/2022/01/24/the-binary

Re: From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Imperatorn via Digitalmars-d-announce
On Monday, 24 January 2022 at 14:22:21 UTC, Mike Parker wrote: Some of you may be aware that Walter recently added a disassembler to DMD. He writes about it in his latest post for the D blog. The blog: https://dlang.org/blog/2022/01/24/the-binary-language-of-moisture-vaporators/ Reddit

From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Mike Parker via Digitalmars-d-announce
Some of you may be aware that Walter recently added a disassembler to DMD. He writes about it in his latest post for the D blog. The blog: https://dlang.org/blog/2022/01/24/the-binary-language-of-moisture-vaporators/ Reddit: https://www.reddit.com/r/programming/comments/sbn7n6

Re: On the D Blog: Using the GCC Static Analyzer on the D Programming Language

2022-01-15 Thread Walter Bright via Digitalmars-d-announce
Nice work, Max!

Re: On the D Blog: Using the GCC Static Analyzer on the D Programming Language

2022-01-14 Thread max haughton via Digitalmars-d-announce
On Friday, 14 January 2022 at 20:25:22 UTC, Dukc wrote: On Friday, 14 January 2022 at 13:37:11 UTC, Mike Parker wrote: The Blog: https://dlang.org/blog/2022/01/14/using-the-gcc-static-analyzer-on-the-d-programming-language/ Reddit:

Re: On the D Blog: Using the GCC Static Analyzer on the D Programming Language

2022-01-14 Thread Dukc via Digitalmars-d-announce
On Friday, 14 January 2022 at 13:37:11 UTC, Mike Parker wrote: The Blog: https://dlang.org/blog/2022/01/14/using-the-gcc-static-analyzer-on-the-d-programming-language/ Reddit: https://www.reddit.com/r/programming/comments/s3sh9p/using_the_gcc_static_analyzer_on_the_d/ Wow, it looks like the

On the D Blog: Using the GCC Static Analyzer on the D Programming Language

2022-01-14 Thread Mike Parker via Digitalmars-d-announce
all about profiling. Now, he's submitted an article to the D Blog showing why the GCC static analyzer is useful for D and how to use it. The Blog: https://dlang.org/blog/2022/01/14/using-the-gcc-static-analyzer-on-the-d-programming-language/ Reddit: https://www.reddit.com/r/programming/comm

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-24 Thread Rainer Schuetze via Digitalmars-d-announce
On 24/12/2021 16:24, rumbu wrote: On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote: Steven Schveighoffer has been using D to teach a group of children to program. He wrote about his experience for the D blog. Is D a viable first language? See what Steve has to say about

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-24 Thread rumbu via Digitalmars-d-announce
On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote: Steven Schveighoffer has been using D to teach a group of children to program. He wrote about his experience for the D blog. Is D a viable first language? See what Steve has to say about it :-) The blog: https://dlang.org/blog

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-24 Thread zjh via Digitalmars-d-announce
On Friday, 24 December 2021 at 13:39:06 UTC, zjh wrote: `chrome/edge/windows10`. I don't know why. Use `ie`,I can access it.

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-24 Thread zjh via Digitalmars-d-announce
On Friday, 24 December 2021 at 13:23:43 UTC, zjh wrote: they have fixed it. I tried it just before, no problem last time. Then, I tried again here. It's circling all the time. You can't see the `source code`, `F12` can't either. `chrome/edge/windows10`. I don't know why.

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-24 Thread zjh via Digitalmars-d-announce
On Friday, 24 December 2021 at 12:55:40 UTC, matheus wrote: they have fixed it.

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-24 Thread matheus via Digitalmars-d-announce
On Friday, 24 December 2021 at 04:58:20 UTC, zjh wrote: On Friday, 24 December 2021 at 03:53:07 UTC, Ali Çehreli wrote: Does the site crash e.g. with an error code or does the browser crash? More information may help debug it. Ali Many times, it is estimated that a `JS` is too large to

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-24 Thread Dennis via Digitalmars-d-announce
On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote: The blog: https://dlang.org/blog/2021/12/23/teaching-d-from-scratch-is-it-a-viable-first-language/ I agree about the bad error message with missing semicolons. Looks like it inspired improvement!

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-23 Thread zjh via Digitalmars-d-announce
On Friday, 24 December 2021 at 03:53:07 UTC, Ali Çehreli wrote: Does the site crash e.g. with an error code or does the browser crash? More information may help debug it. Ali Many times, it is estimated that a `JS` is too large to load. Not only did `the browser` crash, but even the

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-23 Thread Ali Çehreli via Digitalmars-d-announce
On 12/23/21 5:11 PM, zjh wrote: On Thursday, 23 December 2021 at 14:48:43 UTC, zjh wrote: every time I visit `https://dlang.org`,it crashes. `wrong`,`https://dlang.org/blog`. Does the site crash e.g. with an error code or does the browser crash? More information may help debug it. Ali

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-23 Thread zjh via Digitalmars-d-announce
On Thursday, 23 December 2021 at 14:48:43 UTC, zjh wrote: every time I visit `https://dlang.org`,it crashes. `wrong`,`https://dlang.org/blog`.

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-23 Thread zjh via Digitalmars-d-announce
On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote: https://dlang.org/blog/2021/12/23/teaching-d-from-scratch-is-it-a-viable-first-language/ every time I visit `https://dlang.org`,it crashes.

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-23 Thread Harrison Ford (hatf0) via Digitalmars-d-announce
On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote: Steven Schveighoffer has been using D to teach a group of children to program. He wrote about his experience for the D blog. Is D a viable first language? See what Steve has to say about it :-) The blog: https://dlang.org/blog

On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-23 Thread Mike Parker via Digitalmars-d-announce
Steven Schveighoffer has been using D to teach a group of children to program. He wrote about his experience for the D blog. Is D a viable first language? See what Steve has to say about it :-) The blog: https://dlang.org/blog/2021/12/23/teaching-d-from-scratch-is-it-a-viable-first-language

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: From the D Blog: Driving with D

2021-07-16 Thread zjh 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 I have translate this article into `chinese`: [用d开车](https://fqbqrr.blog.csdn.net/article/details/118571177)

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: From the D Blog: Driving with D

2021-06-08 Thread Max Samukha via Digitalmars-d-announce
On Tuesday, 8 June 2021 at 11:35:39 UTC, Iain Buclaw wrote: Testing backports of both now ([here](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100935) and [here](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100964)). Thanks!

  1   2   3   4   5   >