Jump to page: 1 25  
Page
Thread overview
Beta 2.094.0
Sep 11
aberba
Sep 12
kinke
Sep 12
kinke
Sep 13
Manu
Sep 13
MrSmith
Sep 13
MrSmith
Sep 14
mw
5 days ago
mw
5 days ago
Jacob Carlborg
5 days ago
John Colvin
4 days ago
Jacob Carlborg
3 days ago
John Colvin
3 days ago
Jacob Carlborg
Release Candidate 2.094.0 [was: Re: Beta 2.094.0]
3 days ago
Martin Nowak
3 days ago
Imperatorn
3 days ago
Per Nordlöw
September 11
Glad to announce the first beta for the 2.094.0 release, ♥ to the 49 contributors.

This is the first release to be built with LDC on all platforms, so we'd welcome some more thorough beta testing.

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

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

-Martin

September 11
On Friday, 11 September 2020 at 07:48:00 UTC, Martin Nowak wrote:
> Glad to announce the first beta for the 2.094.0 release, ♥ to the 49 contributors.
>
> This is the first release to be built with LDC on all platforms, so we'd welcome some more thorough beta testing.
>
> http://dlang.org/download.html#dmd_beta
> http://dlang.org/changelog/2.094.0.html
>
> As usual please report any bugs at
> https://issues.dlang.org
>
> -Martin

This is an absolutely fantastic release! Thanks to all.
- faster DMD
- dub support of git repositories
- stricter __vector conversion
- throwing in debug block is a convenience feature that will save some time
...
September 11
On Friday, 11 September 2020 at 07:48:00 UTC, Martin Nowak wrote:
> Glad to announce the first beta for the 2.094.0 release, ♥ to the 49 contributors.
>
> This is the first release to be built with LDC on all platforms, so we'd welcome some more thorough beta testing.
>
> http://dlang.org/download.html#dmd_beta
> http://dlang.org/changelog/2.094.0.html
>
> As usual please report any bugs at
> https://issues.dlang.org
>
> -Martin

Markdown 😎
September 12
On Friday, 11 September 2020 at 07:48:00 UTC, Martin Nowak wrote:
> http://dlang.org/changelog/2.094.0.html
>
> As usual please report any bugs at
> https://issues.dlang.org
>
> -Martin

"Equality of arrays of structs is consistent again, as before v2.078"

Not a big fan of this. I think it's super dangerous to change this behavior again.

Does anyone know when -preview=fieldwise will become the default?

September 12
On Saturday, 12 September 2020 at 00:52:43 UTC, Andrej Mitrovic wrote:
> "Equality of arrays of structs is consistent again, as before v2.078"
>
> Not a big fan of this. I think it's super dangerous to change this behavior again.

Looks like hardly anyone is affected, as the quite obviously unsound breaking change in semantics would have been detected and fixed way earlier in that case.

> Does anyone know when -preview=fieldwise will become the default?

FWIW, druntime and Phobos are compiled with it since v2.094.
September 12
On Friday, 11 September 2020 at 07:48:00 UTC, Martin Nowak wrote:
> Glad to announce the first beta for the 2.094.0 release, ♥ to the 49 contributors.

I forgot too add the new formatting of -vtemplates to the changelog. Shall I?
September 12
On Saturday, 12 September 2020 at 09:07:18 UTC, kinke wrote:
> On Saturday, 12 September 2020 at 00:52:43 UTC, Andrej Mitrovic
>> Does anyone know when -preview=fieldwise will become the default?
>
> FWIW, druntime and Phobos are compiled with it since v2.094.

I think you mean -preview=dtorfields, not fieldwise.
September 12
On Saturday, 12 September 2020 at 00:52:43 UTC, Andrej Mitrovic wrote:
> Does anyone know when -preview=fieldwise will become the default?

Currently looking into enabling it by default but it showed an interesting side effect. The frontend can now conclude that a == b is always true if a and b are instances of an empty struct (without custom opEquals).

This caused "unreachable code" warnings for VariantN in Phobos and could probably affect other projects as well.
September 12
On Saturday, 12 September 2020 at 11:03:09 UTC, Per Nordlöw wrote:
> I forgot too add the new formatting of -vtemplates to the changelog.

https://github.com/dlang/dmd/pull/11463
September 12
On Saturday, 12 September 2020 at 11:43:03 UTC, MoonlightSentinel wrote:
>
> Currently looking into enabling it by default but it showed an interesting side effect. The frontend can now conclude that a == b is always true if a and b are instances of an empty struct (without custom opEquals).
>
> This caused "unreachable code" warnings for VariantN in Phobos and could probably affect other projects as well.

How many improvements does this warning have to block before we decide its value for the language is net-negative?

GCC doesn't have it. [1] Clang has it, but only if you specifically ask for it with -Wunreachable-code; it's not part of -Wall or -Wextra. [2] Rust has it, but lets you turn it off with an annotation. [3] Java has it, but it explicitly does *not* take constant-folding into account. [4]

The only language I could find that follows D's approach is C# [5], and C#'s generics don't get a separate semantic analysis for each concrete type like D's templates do.

[1] https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
[2] https://clang.llvm.org/docs/DiagnosticsReference.html#wunreachable-code
[3] https://doc.rust-lang.org/rust-by-example/attribute/unused.html
[4] https://docs.oracle.com/javase/specs/jls/se14/html/jls-14.html#jls-14.22
[5] https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0162
« First   ‹ Prev
1 2 3 4 5