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

Re: Why I Like D

2022-01-14 Thread forkit via Digitalmars-d-announce
On Friday, 14 January 2022 at 14:50:50 UTC, H. S. Teoh wrote: IMO, 'autonomy' isn't the notion you're looking for. The word I prefer to use is *empowerment*. A programming language should be a toolbox filled with useful tools that you can use to solve your problem. It should not be a

Re: Why I Like D

2022-01-14 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Friday, 14 January 2022 at 18:54:26 UTC, Steven Schveighoffer wrote: You might as well say that C is unusable at a high level vs. javascript because you need to decide what type of number you want, is it int, float, long? OMG SO MANY CHOICES. Bad choice of example… C is close to unusable

Re: Why I Like D

2022-01-14 Thread Steven Schveighoffer via Digitalmars-d-announce
On 1/14/22 1:20 AM, Araq wrote: Plus with D you cannot really work at the "high level" at all, it is full of friction. Is this data const? Or immutable? Is this @safe? @system? Should I use @nogc? Are exceptions still a good idea? Should I use interfaces or inheritance? Should I use class or

Re: D Language Foundation Monthly Meeting Summary (September 24, 2021)

2022-01-14 Thread Konstantin via Digitalmars-d-announce
On Friday, 14 January 2022 at 07:14:25 UTC, Mike Parker wrote: On Friday, 14 January 2022 at 06:12:51 UTC, Konstantin wrote: Hello, Max! Are there any news or estimates about the roadmap? I posted a note about it in a meeting summary or a blog post (can't remember where) a few weeks ago.

Re: Why I Like D

2022-01-14 Thread Vinod K Chandran via Digitalmars-d-announce
On Friday, 14 January 2022 at 14:29:54 UTC, H. S. Teoh wrote: Well explained. :)

Re: Why I Like D

2022-01-14 Thread Vinod K Chandran via Digitalmars-d-announce
On Wednesday, 12 January 2022 at 20:41:56 UTC, Walter Bright wrote: You nailed it. Bravo :)

Re: Why I Like D

2022-01-14 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 14, 2022 at 09:18:23AM +, Paulo Pinto via Digitalmars-d-announce wrote: > On Friday, 14 January 2022 at 02:13:48 UTC, H. S. Teoh wrote: [...] > > How is using D "losing autonomy"? Unlike Java, D does not force you > > to use anything. You can write all-out GC code, you can write

Re: Why I Like D

2022-01-14 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 14, 2022 at 03:51:17AM +, forkit via Digitalmars-d-announce wrote: > On Friday, 14 January 2022 at 02:13:48 UTC, H. S. Teoh wrote: > > > > How is using D "losing autonomy"? Unlike Java, D does not force you > > to use anything. You can write all-out GC code, you can write @nogc

Re: Why I Like D

2022-01-14 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 14, 2022 at 06:20:58AM +, Araq via Digitalmars-d-announce wrote: > On Friday, 14 January 2022 at 02:13:48 UTC, H. S. Teoh wrote: > > It takes 10x the effort to write a shell-script substitute in C++ > > because at every turn the language works against me -- I can't avoid > >

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

2022-01-14 Thread Mike Parker via Digitalmars-d-announce
If you saw Max Haughton's [DConf Online 2021 presentation](https://youtu.be/6TDZa5LUBzY) (Q & A video coming soon), or followed his remarks here in the forums or the D Community Discord, you know that profiling and static analysis are among his major interests. The DConf Online video was all

Re: Why I Like D

2022-01-14 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Friday, 14 January 2022 at 02:13:48 UTC, H. S. Teoh wrote: compiler). You can write functional-style code, and, thanks to metaprogramming, you can even use more obscure paradigms like declarative programming. No, you can't. You can do a little bit of weak declarative programming in C++

Re: Added copy constructors to "Programming in D"

2022-01-14 Thread Martin Tschierschke via Digitalmars-d-announce
On Thursday, 13 January 2022 at 09:21:46 UTC, Andrea Fontana wrote: On Saturday, 8 January 2022 at 13:23:52 UTC, Imperatorn wrote: On Saturday, 8 January 2022 at 02:07:10 UTC, Ali Çehreli wrote: 1) After about three years, I finally added copy constructors: [...] Will the physical book also

Re: Why I Like D

2022-01-14 Thread Paulo Pinto via Digitalmars-d-announce
On Friday, 14 January 2022 at 02:13:48 UTC, H. S. Teoh wrote: On Fri, Jan 14, 2022 at 01:19:01AM +, forkit via Digitalmars-d-announce wrote: [...] [...] [...] [...] How is using D "losing autonomy"? Unlike Java, D does not force you to use anything. You can write all-out GC code, you