February 02, 2023
On 2/2/23 10:29, jmh530 wrote:
> On Thursday, 2 February 2023 at 17:22:46 UTC, Ali Çehreli wrote:
>> [snip]
>>
>>   https://issues.dlang.org/show_bug.cgi?id=17378
>>
>>
>
> Looks like your bug report is for assert and static assert, but the PR
> only handles static assert.

I've noticed that as well.

> You might want to file a separate one for assert.

I am a little hesitant after long philosophical (to me) discussions on a tangential topic. That forum discussion is linked from this bug:

  https://issues.dlang.org/show_bug.cgi?id=17226

The forum discussion:

  https://forum.dlang.org/thread/qwixdanceeupdefyqwnr@forum.dlang.org

I still agree with myself :) in that discussion here:

  https://forum.dlang.org/post/tlqcjq$usk$1@digitalmars.com

And I think this code is how 17226 should be fixed as:

  https://forum.dlang.org/post/tldrrs$qn$1@digitalmars.com

Ali

February 03, 2023
On Thursday, 2 February 2023 at 17:22:46 UTC, Ali Çehreli wrote:
> On 2/2/23 04:30, Iain Buclaw wrote:
>
> > Glad to announce D 2.102.0, ♥ to the 40 contributors.
>
> ... Two issues that I had some interest in are fixed. Yay!

Ali rabboni, I think the other issue(#17226) is more important, very much!
> "Ali hocam, bence diğer konu daha önemli, hem de çok!"

Because it can wait in line for the mighty David, who has more pressing issues.
> "Çünkü daha acil sorunları olan çok güçlü D için sırada bekleyebilir."

Moreover, other programming languages ​​have the same problem and non-native speakers come up with their own solutions.
> "Üstelik diğer programlama dillerinde de aynı sorun var ve ana dili İngilizce olmayanlar kendi çözümlerini buluyor."

In summary this is not D's primary problem.
> "Özetle bu D'nin öncelikli sorun değildir."

By the way, thank you very much for the update. This was the first update I followed from start to finish.
> "Bu arada, güncelleme için çok teşekkür ederim.  Bu, başından sonuna kadar takip ettiğim ilk güncellemeydi."

SDB@79
February 03, 2023

On Thursday, 2 February 2023 at 12:30:50 UTC, Iain Buclaw wrote:

>

http://dlang.org/download.html
http://dlang.org/changelog/2.102.0.html

-Iain
on behalf of the Dlang Core Team

  • Stack traces can now be generated when run inside the GC collection routine.
  • InvalidMemoryOperationError now has a stack trace.

This is awesome.

And thanks for the release Iain.

February 03, 2023
On Thursday, 2 February 2023 at 22:46:51 UTC, Ali Çehreli wrote:

> https://forum.dlang.org/thread/qwixdanceeupdefyqwnr@forum.dlang.org
>
> I still agree with myself :) in that discussion here:
>
>   https://forum.dlang.org/post/tlqcjq$usk$1@digitalmars.com
>

BTW, check out another case of D violating the "if in an invalid state, die" precept. The following code not only runs the upstream destructor (which depends on successful completion of the downstream one), but does that in an infinite loop:

struct TransactionFactory
{
    Transaction spawnTransaction()
    {
        return Transaction(0);
    }

    // depends on all Transactions having been destroyed
    ~this()
    {
        assert(Transaction.count == 0);
    }
}

struct Transaction
{
    static int count;

    // the usual "fake nullary constructor" fiddlesticks
    this() @disable;
    this(int dummy)
    {
        count++;
    }

    ~this()
    {
        assert(false); // a failure that leaves the system in an invalid state
        count--;
    }
}

void main()
{
    TransactionFactory tf;
    Transaction t = tf.spawnTransaction;
}
February 03, 2023

On Thursday, 2 February 2023 at 12:30:50 UTC, Iain Buclaw wrote:

>

Glad to announce D 2.102.0, ♥ to the 40 contributors.

This release comes with support for multiple message arguments in static assert(), stack allocated scope array literals, a new preview switch to add support for @system variables, and many more.

Downloads and full changelog are available from the dlang site.

http://dlang.org/download.html
http://dlang.org/changelog/2.102.0.html

-Iain
on behalf of the Dlang Core Team

>

Dub changes
Binary output will now be in a central cache

A welcome change, thanks!

>

Bugzilla 21301: Wrong values being passed in long parameter list

Finally fixed, thanks!!

February 03, 2023
On Friday, 3 February 2023 at 08:33:26 UTC, Max Samukha wrote:
>
> BTW, check out another case of D violating the "if in an invalid state, die" precept. The following code not only runs the upstream destructor (which depends on successful completion of the downstream one), but does that in an infinite loop:
>
> [...]

Yep, it's a regression: https://issues.dlang.org/show_bug.cgi?id=23164
February 05, 2023

On Thursday, 2 February 2023 at 12:30:50 UTC, Iain Buclaw wrote:

>

http://dlang.org/download.html

Seems there's problems with the installer script: https://issues.dlang.org/show_bug.cgi?id=23671

February 13, 2023

Glad to announce the first beta for the 2.102.1 point release, ♥ to the 6 contributors.

This fixes two breaking regressions found in dub 1.31.0 after the initial release.

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

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

-Iain
on behalf of the Dlang Core Team

February 13, 2023

On Sunday, 5 February 2023 at 01:59:47 UTC, Andrej Mitrovic wrote:

>

On Thursday, 2 February 2023 at 12:30:50 UTC, Iain Buclaw wrote:

>

http://dlang.org/download.html

Seems there's problems with the installer script: https://issues.dlang.org/show_bug.cgi?id=23671

Indeed, it's not downloading the new version of https://dlang.org/d-keyring.gpg

As a workaround remove ~/dlang/d-keyring.gpg and try again.

February 14, 2023

On Monday, 13 February 2023 at 20:55:42 UTC, Iain Buclaw wrote:

>

On Sunday, 5 February 2023 at 01:59:47 UTC, Andrej Mitrovic wrote:

>

On Thursday, 2 February 2023 at 12:30:50 UTC, Iain Buclaw wrote:

>

http://dlang.org/download.html

Seems there's problems with the installer script: https://issues.dlang.org/show_bug.cgi?id=23671

Indeed, it's not downloading the new version of https://dlang.org/d-keyring.gpg

As a workaround remove ~/dlang/d-keyring.gpg and try again.

Well, this seems to happen now and then... since many years