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

2022-01-13 Thread Mike Parker via Digitalmars-d-announce
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. But the short of it: in the process of revising it, I realized it

Re: Why I Like D

2022-01-13 Thread Araq via Digitalmars-d-announce
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 dealing with memory management issues at every turn -- should I use malloc/free and fix leaks / da

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

2022-01-13 Thread Konstantin via Digitalmars-d-announce
On Friday, 1 October 2021 at 23:53:46 UTC, max haughton wrote: On Friday, 1 October 2021 at 21:48:23 UTC, Konstantin wrote: On Friday, 1 October 2021 at 12:32:20 UTC, Mike Parker wrote: Attendees: Andrei Alexandrescu Walter Bright Iain Buclaw Ali Çehreli Max Haughton Martin Kinkelin Mathias La

Re: Why I Like D

2022-01-13 Thread forkit via Digitalmars-d-announce
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 code (slap it on main() and your entire program will be guaranteed to be GC-free -- statically

Re: Why I Like D

2022-01-13 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 14, 2022 at 01:19:01AM +, forkit via Digitalmars-d-announce wrote: [...] > C provides even greater autonomy over both C++ and D. And I'd argue, > that's why C remains so useful, and so popular (for those problems > where such a level of autonomy is needed). > > By, 'autonomy', I m

Re: Why I Like D

2022-01-13 Thread forkit via Digitalmars-d-announce
On Thursday, 13 January 2022 at 21:32:15 UTC, Paul Backus wrote: Actually, I think *self*-government has very little to do with it. I'm not so sure. Presumably, C++ provides a programmer with much greater autonomy over their code than D? C provides even greater autonomy over both C++ an

Re: Why I Like D

2022-01-13 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Jan 13, 2022 at 09:32:15PM +, Paul Backus via Digitalmars-d-announce wrote: > On Wednesday, 12 January 2022 at 20:48:39 UTC, forkit wrote: [...] > > Programmers want the right of self-government, over their code. > > Actually, I think *self*-government has very little to do with it. [

Re: Why I Like D

2022-01-13 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Thursday, 13 January 2022 at 21:32:15 UTC, Paul Backus wrote: As you correctly observe, D is a great language for programmers who want autonomy--far better than something like Java, Go, or Rust, which impose relatively strict top-down visions of how code ought to be written. I keep seeing

Re: Why I Like D

2022-01-13 Thread Paul Backus via Digitalmars-d-announce
On Wednesday, 12 January 2022 at 20:48:39 UTC, forkit wrote: Fear of GC is just a catch-all-phrase that serves no real purpose, and provides no real insight into what programmers are thinking. It's all about autonomy and self-government (on the decision of whether to use GC or not, or when to

Re: Why I Like D

2022-01-13 Thread forkit via Digitalmars-d-announce
On Thursday, 13 January 2022 at 11:30:40 UTC, zjh wrote: On Thursday, 13 January 2022 at 03:10:14 UTC, zjh wrote: I'm a `GC phobia`. "A phobia is an irrational fear of something that's unlikely to cause harm." "A phobia is a type of anxiety disorder defined by a persistent and excessive fe

Re: LDC 1.28.1

2022-01-13 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Jan 13, 2022 at 03:51:07PM +, kinke via Digitalmars-d-announce wrote: > A new patch version was just released: > > * Based on D 2.098.1+ (stable from 2 days ago). Big thanks to the LDC team for continuing to deliver one of the best D compilers around! T -- Государство делает вид,

Re: Why I Like D

2022-01-13 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Jan 13, 2022 at 10:21:12AM +, Stanislav Blinov via Digitalmars-d-announce wrote: [...] > Oh there is a psychological barrier for sure. On both sides of the, > uh, "argument". I've said this before but I can repeat it again: time > it. 4 milliseconds. That's how long a single GC.collect

Re: Why I Like D

2022-01-13 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Thursday, 13 January 2022 at 16:33:59 UTC, Paulo Pinto wrote: ARC, tracing GC, whatever, but make your mind otherwise other languages that know what they want to be get the spotlight in such vendors. Go has a concurrent collector, so I would assume it is reasonable well-behaving in regards

Re: Why I Like D

2022-01-13 Thread Paulo Pinto via Digitalmars-d-announce
On Thursday, 13 January 2022 at 15:44:33 UTC, Ola Fosheim Grøstad wrote: On Thursday, 13 January 2022 at 10:21:12 UTC, Stanislav Blinov wrote: TLDR: it's pointless to lament on irrelevant trivia. Time it! Any counter-arguments from either side are pointless without that. "Time it" isn't reall

Re: Why I Like D

2022-01-13 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Thursday, 13 January 2022 at 11:57:41 UTC, Araq wrote: But the time it takes depends on the number of threads it has to stop and the amount of live memory of your heap. If it took 4ms regardless of these factors it wouldn't be bad, but that's not how D's GC works... Sadly fast scanning is

LDC 1.28.1

2022-01-13 Thread kinke via Digitalmars-d-announce
A new patch version was just released: * Based on D 2.098.1+ (stable from 2 days ago). * Linux x86[_64]: Important fix with statically linked druntime and lld/bfd linkers. [lld 13 came with a deadly breaking change and doesn't work, older versions do - stay tuned for LDC v1.29 for further impr

Re: Why I Like D

2022-01-13 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Thursday, 13 January 2022 at 10:21:12 UTC, Stanislav Blinov wrote: TLDR: it's pointless to lament on irrelevant trivia. Time it! Any counter-arguments from either side are pointless without that. "Time it" isn't really useful for someone starting on a project, as it is too late when you ha

Re: Why I Like D

2022-01-13 Thread Paulo Pinto via Digitalmars-d-announce
On Thursday, 13 January 2022 at 10:21:12 UTC, Stanislav Blinov wrote: On Wednesday, 12 January 2022 at 16:17:02 UTC, H. S. Teoh wrote: [...] Oh there is a psychological barrier for sure. On both sides of the, uh, "argument". I've said this before but I can repeat it again: time it. 4 millise

Re: Why I Like D

2022-01-13 Thread Paulo Pinto via Digitalmars-d-announce
On Wednesday, 12 January 2022 at 02:37:47 UTC, Walter Bright wrote: "Why I like D" is on the front page of HackerNews at the moment at number 11. https://news.ycombinator.com/news I enjoyed reading the article.

Re: Why I Like D

2022-01-13 Thread Araq via Digitalmars-d-announce
On Thursday, 13 January 2022 at 10:21:12 UTC, Stanislav Blinov wrote: Oh there is a psychological barrier for sure. On both sides of the, uh, "argument". I've said this before but I can repeat it again: time it. 4 milliseconds. That's how long a single GC.collect() takes on my machine. That's a

Re: Why I Like D

2022-01-13 Thread zjh via Digitalmars-d-announce
On Thursday, 13 January 2022 at 03:10:14 UTC, zjh wrote: I'm a `GC phobia`.

Re: Why I Like D

2022-01-13 Thread Stanislav Blinov via Digitalmars-d-announce
On Wednesday, 12 January 2022 at 16:17:02 UTC, H. S. Teoh wrote: On Wed, Jan 12, 2022 at 03:41:03PM +, Adam D Ruppe via Digitalmars-d-announce wrote: On Wednesday, 12 January 2022 at 15:25:37 UTC, H. S. Teoh wrote: >However it turns out that unless you are writing a computer >game,

Re: Added copy constructors to "Programming in D"

2022-01-13 Thread Andrea Fontana via Digitalmars-d-announce
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: http://ddili.org/ders/d.en/special_functions.html#ix_special_functions.copy%20constructor [...] Splen