Re: Beta 2.093.0

2020-06-25 Thread bogdan via Digitalmars-d-announce

On Wednesday, 24 June 2020 at 21:01:05 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.093.0 release, ♥ to 
the 53 contributors.


http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.093.0.html

As usual please report any bugs at
https://issues.dlang.org

-Martin


Thanks all for the effort!

I'm happy to see that the new dub release has my change related 
to CLI extensibility(even though I'm not in the contributors 
list). Is it possible to make those dub releases more often? This 
change was ready before the previous dmd release.


From the D Blog: A Pattern for Head-mutable Structures

2020-06-25 Thread Mike Parker via Digitalmars-d-announce
Simen Kjærås outlines an approach to supporting head-mutable 
types in D without the need for compiler or language changes.


The blog:
https://dlang.org/blog/2020/06/25/a-pattern-for-head-mutable-structures/

Reddit:
https://www.reddit.com/r/programming/comments/hfkq5e/a_pattern_for_headmutable_structures_in_d/

I've also submitted it to HN (please use the search box):

https://news.ycombinator.com/newest




Re: From the D Blog: A Pattern for Head-mutable Structures

2020-06-25 Thread FeepingCreature via Digitalmars-d-announce

On Thursday, 25 June 2020 at 11:55:14 UTC, Mike Parker wrote:
Simen Kjærås outlines an approach to supporting head-mutable 
types in D without the need for compiler or language changes.


The blog:
https://dlang.org/blog/2020/06/25/a-pattern-for-head-mutable-structures/

Reddit:
https://www.reddit.com/r/programming/comments/hfkq5e/a_pattern_for_headmutable_structures_in_d/

I've also submitted it to HN (please use the search box):

https://news.ycombinator.com/newest


What about immutable structs? There is no possible head-mutable 
type for them.


Deprecate?


Re: From the D Blog: A Pattern for Head-mutable Structures

2020-06-25 Thread jmh530 via Digitalmars-d-announce

On Thursday, 25 June 2020 at 11:55:14 UTC, Mike Parker wrote:
Simen Kjærås outlines an approach to supporting head-mutable 
types in D without the need for compiler or language changes.


[snip]


Good piece. I've been following the recent thread, but this 
really helped make some things clear.


Re: Beta 2.093.0

2020-06-25 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 6/24/20 5:01 PM, Martin Nowak wrote:
Glad to announce the first beta for the 2.093.0 release, ♥ to the 53 
contributors.


http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.093.0.html

As usual please report any bugs at
https://issues.dlang.org

-Martin


Thanks! Would be great to build dmd with ldc for the distributed binaries.


Re: dubproxy: Easy private repos and code.dlang.org mirror

2020-06-25 Thread Andre Pany via Digitalmars-d-announce
On Tuesday, 20 August 2019 at 10:24:41 UTC, Martin Tschierschke 
wrote:

On Monday, 19 August 2019 at 15:29:55 UTC, Andre Pany wrote:
[...]


Ok, we should add some more info to Dub help page explaining 
the different repository providers (dub/maven/file system).



Yes! Please :-)


Finally you can find the information here:
https://dub.pm/package-suppliers

Kind regards
André


Re: From the D Blog: A Pattern for Head-mutable Structures

2020-06-25 Thread Arun Chandrasekaran via Digitalmars-d-announce

On Thursday, 25 June 2020 at 11:55:14 UTC, Mike Parker wrote:


I've also submitted it to HN (please use the search box):

https://news.ycombinator.com/newest


This is a very interesting post. But this strategy with HN is 
clearly not working. 5 upvotes after 17 hours and 0 comments. 
Please paste the direct link in future even if the ranking goes 
down after a few hours. Some publicity is better than nothing at 
all.


Re: From the D Blog: A Pattern for Head-mutable Structures

2020-06-25 Thread Mike Parker via Digitalmars-d-announce
On Friday, 26 June 2020 at 05:37:13 UTC, Arun Chandrasekaran 
wrote:


This is a very interesting post. But this strategy with HN is 
clearly not working. 5 upvotes after 17 hours and 0 comments. 
Please paste the direct link in future even if the ranking goes 
down after a few hours. Some publicity is better than nothing 
at all.


Upvotes aren't counted when you follow a direct link. So no, I 
won't be posting direct links.


Re: From the D Blog: A Pattern for Head-mutable Structures

2020-06-25 Thread Andrej Mitrovic via Digitalmars-d-announce

On Friday, 26 June 2020 at 06:14:48 UTC, Mike Parker wrote:
On Friday, 26 June 2020 at 05:37:13 UTC, Arun Chandrasekaran 
wrote:


This is a very interesting post. But this strategy with HN is 
clearly not working. 5 upvotes after 17 hours and 0 comments. 
Please paste the direct link in future even if the ranking 
goes down after a few hours. Some publicity is better than 
nothing at all.


Upvotes aren't counted when you follow a direct link. So no, I 
won't be posting direct links.


Isn't it possible to just paste to the search results? 
https://hn.algolia.com/?q=A+pattern+for+head+mutable


Then presumably after clicking on comments you would be allowed 
to upvote.