Thread overview
DMD Beta 2.105.0
Jul 16, 2023
Iain Buclaw
Jul 17, 2023
Witold Baryluk
Jul 18, 2023
IchorDev
July 16, 2023

Glad to announce the first beta for the 2.105.0 release, ♥ to the 34 contributors.

This release comes with 10 major changes, including:

  • In the compiler, assignment-style syntax is now allowed for alias this.
  • In the library, integration with the Valgrind memcheck tool has been added to the garbage collector.
  • In dub, there's a new --d-versions CLI flag.

As always, you can find the release binaries and full changelog on the dlang.org site.

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

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

-Iain
on behalf of the Dlang Core Team

July 17, 2023

On Sunday, 16 July 2023 at 17:26:03 UTC, Iain Buclaw wrote:

>

Glad to announce the first beta for the 2.105.0 release, ♥ to the 34 contributors.

Thanks for the beta Iain.

>

Functions can no longer have enum storage class

This looks like a breaking change that can affect people. There should be a deprecation (6-12 months) period to give people notice to fix their code, without immediately breaking code.

https://github.com/dlang/dmd/pull/15405 and https://issues.dlang.org/show_bug.cgi?id=13063 show there was no discussion on deprecation, despite authors knowing that there is code in the wild using this.

It does not affect me, but in light in recent discussions, it again gives a bad picture of D and maintainability of code developed in D.

July 18, 2023

On Monday, 17 July 2023 at 19:26:04 UTC, Witold Baryluk wrote:

>

On Sunday, 16 July 2023 at 17:26:03 UTC, Iain Buclaw wrote:

>

Glad to announce the first beta for the 2.105.0 release, ♥ to the 34 contributors.

Thanks for the beta Iain.

>

Functions can no longer have enum storage class

This looks like a breaking change that can affect people. There should be a deprecation (6-12 months) period to give people notice to fix their code, without immediately breaking code.

https://github.com/dlang/dmd/pull/15405 and https://issues.dlang.org/show_bug.cgi?id=13063 show there was no discussion on deprecation, despite authors knowing that there is code in the wild using this.

It does not affect me, but in light in recent discussions, it again gives a bad picture of D and maintainability of code developed in D.

You’re correct about the deprecation cycle being wrong, but please remember that “enum” on a function is just a more confusing way of writing “auto”. Anyone using it probably didn’t understand what it did—nothing much.