Re: std.variant Is Everything Cool About D

2018-03-29 Thread 12345swordy via Digitalmars-d-announce
On Thursday, 29 March 2018 at 14:10:39 UTC, Mike Parker wrote: Jared Hanson (a.k.a Meta and MetaLang around these parts) was inspired by an article titled "std::visit is everything wrong with modern C++" to contrast it with D's std.variant.visit. The result is this well-written post for the D

Re: std.variant Is Everything Cool About D

2018-03-29 Thread Walter Bright via Digitalmars-d-announce
On 3/29/2018 10:30 AM, 12345swordy wrote: There are some quite criticisms being made in the comments section. The main criticism is a misunderstanding about std.variant's allocation strategy. I have been trying to correct that.

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-29 Thread Jacob Carlborg via Digitalmars-d-announce
On Wednesday, 28 March 2018 at 23:25:09 UTC, Walter Bright wrote: It's expected with a build tool. Not a compiler. It depends. The compilers are doing more and more work these days. Initially, DMD could not build libraries, now it can. DMD does not output assembly files and runs an

Postblit documentation

2018-03-29 Thread RazvanN via Digitalmars-d-announce
Hi all, I've been documenting how the postblit works [1] and discovered that it has some major issues when used with qualifiers. I will try to come up with an alternative design, but until then, anyone interested please take look and modify/add anything you find suitable. Cheers, RazvanN

IZ release 0.6.11, now with SafeAccess (?.) chains and more

2018-03-29 Thread Basile B. via Digitalmars-d-announce
Iz 0.6.11 is available now. While parts of the library are no really usable by a wide audience (memory management things) There's been a bunch of interesting additions in the iz.sugar.d module, which can be used independently from the "big stuff" (memory-classes-properties-serialization).

Re: LDC 1.8.0

2018-03-29 Thread Martin Tschierschke via Digitalmars-d-announce
On Saturday, 24 March 2018 at 17:33:18 UTC, Matthias Klumpp wrote: On Tuesday, 13 March 2018 at 01:52:48 UTC, Matthias Klumpp wrote: [...] Aww, just a little bit too late to easily get into Ubuntu 18.04 LTS Well It still made it, yay! (Even without me explicitly requesting it) This

Re: DLS : an attempt at a language server

2018-03-29 Thread Greatsam4sure via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 18:32:40 UTC, Anton Pastukhov wrote: On Tuesday, 27 March 2018 at 18:08:14 UTC, Laurent Tréguier wrote: Hello, D community! I've been looking at D for a while now, but never got to really use it. And now that Microsoft initiated the Language Server Protocol, I

Re: Postblit documentation

2018-03-29 Thread Dukc via Digitalmars-d-announce
On Thursday, 29 March 2018 at 09:15:56 UTC, RazvanN wrote: I've been documenting how the postblit works [1] and discovered that it has some major issues when used with qualifiers. Perhaps you're already aware, but there was discussion about that a while back:

Re: std.variant Is Everything Cool About D

2018-03-29 Thread dangbinghoo via Digitalmars-d-announce
On Thursday, 29 March 2018 at 14:10:39 UTC, Mike Parker wrote: Jared Hanson (a.k.a Meta and MetaLang around these parts) was inspired by an article titled "std::visit is everything wrong with modern C++" to contrast it with D's std.variant.visit. The result is this well-written post for the D

Re: std.variant Is Everything Cool About D

2018-03-29 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/29/2018 01:30 PM, 12345swordy wrote: There are some quite criticisms being made in the comments section. Some of them I actually agree with. Much as I love D, its Variant/Arithmetic *is* a terribly inferior hack compared to various languages that have built-in sum types. (Like

Re: std.variant Is Everything Cool About D

2018-03-29 Thread Meta via Digitalmars-d-announce
On Thursday, 29 March 2018 at 14:10:39 UTC, Mike Parker wrote: Jared Hanson (a.k.a Meta and MetaLang around these parts) was inspired by an article titled "std::visit is everything wrong with modern C++" to contrast it with D's std.variant.visit. The result is this well-written post for the D

Re: std.variant Is Everything Cool About D

2018-03-29 Thread jmh530 via Digitalmars-d-announce
On Friday, 30 March 2018 at 00:37:27 UTC, Meta wrote: Unfortunately, this turned out to be the worst possible day for me to try to actively monitor the thread and respond to questions. I'm surprised that people latched onto my little quip about C++ using the name variant for a tagged union.

Re: std.variant Is Everything Cool About D

2018-03-29 Thread Mike Parker via Digitalmars-d-announce
On Friday, 30 March 2018 at 02:46:13 UTC, jmh530 wrote: On Friday, 30 March 2018 at 00:37:27 UTC, Meta wrote: Unfortunately, this turned out to be the worst possible day for me to try to actively monitor the thread and respond to questions. I'm surprised that people latched onto my little

Re: std.variant Is Everything Cool About D

2018-03-29 Thread bachmeier via Digitalmars-d-announce
On Thursday, 29 March 2018 at 17:30:04 UTC, 12345swordy wrote: There are some quite criticisms being made in the comments section. Hopefully there will be a time in the future where D stops selling itself as a dialect of C++. Whether the criticisms are right or wrong, they show the

Re: IZ release 0.6.11, now with SafeAccess (?.) chains and more

2018-03-29 Thread Adam D. Ruppe via Digitalmars-d-announce
On Thursday, 29 March 2018 at 09:56:54 UTC, Basile B. wrote: links: Alternative docs: http://iz.dpldocs.info/iz.html

Re: Hamburg meets D

2018-03-29 Thread Martin Tschierschke via Digitalmars-d-announce
On Thursday, 8 March 2018 at 11:35:51 UTC, Stephan wrote: On Tuesday, 6 March 2018 at 01:46:26 UTC, Mike Parker wrote: On Monday, 5 March 2018 at 19:40:12 UTC, Stephan wrote: Hello fellow Dlers, thanks to last years DConf some German D developers agreed to meet for drinks in Hamburg. What

Re: IZ release 0.6.11, now with SafeAccess (?.) chains and more

2018-03-29 Thread Basile B. via Digitalmars-d-announce
On Thursday, 29 March 2018 at 12:52:36 UTC, Adam D. Ruppe wrote: On Thursday, 29 March 2018 at 09:56:54 UTC, Basile B. wrote: links: Alternative docs: http://iz.dpldocs.info/iz.html thanks for your help, on IRC, with the missing return, btw.

Re: std.variant Is Everything Cool About D

2018-03-29 Thread Sam Potter via Digitalmars-d-announce
Awesome. I just scanned the "learn" section of the dlang.org, and didn't immediately see a section titled "pattern matching" which includes the nice D code from this blog post (sorry if it's in there---but it isn't jumping out at me). Maybe worth including or emphasizing.

std.variant Is Everything Cool About D

2018-03-29 Thread Mike Parker via Digitalmars-d-announce
Jared Hanson (a.k.a Meta and MetaLang around these parts) was inspired by an article titled "std::visit is everything wrong with modern C++" to contrast it with D's std.variant.visit. The result is this well-written post for the D Blog. The blog: