Re: Beta 2.104.0

2023-05-01 Thread zjh via Digitalmars-d-announce
On Tuesday, 2 May 2023 at 00:34:45 UTC, Iain Buclaw wrote: Glad to announce the first beta for the 2.104.0 release, ♥ to the 36 contributors. [104](https://dlang.org/changelog/2.104.0.html) ```d alias Tint = int; @Tint void f(); ``` Here says not to use basic types as attributes, but the fol

Re: Tutorial on LDC's -ftime-trace

2023-05-01 Thread WebFreak001 via Digitalmars-d-announce
On Monday, 1 May 2023 at 14:00:23 UTC, Mike Parker wrote: Dennis Korpel has a new tutorial out on the foundation's YouTube channel, showing how to employ LDC's -ftime-trace option to improve your project's compile times. This can come in handy if you're heavily using metaprogramming or CTFE.

Beta 2.104.0

2023-05-01 Thread Iain Buclaw via Digitalmars-d-announce
Glad to announce the first beta for the 2.104.0 release, ♥ to the 36 contributors. This release comes with 11 major changes, including: - In the compiler, User Defined Attributes now parse template arguments. - In the standard library, `std.typecons.Rebindable` now supports all types - In dub

Release D 2.103.1

2023-05-01 Thread Iain Buclaw via Digitalmars-d-announce
Glad to announce D 2.103.1, ♥ to the 5 contributors. http://dlang.org/download.html This point release includes three regression fixes, and three bug fixes over 2.103.0, see the changelog for more details. http://dlang.org/changelog/2.103.1.html -Iain on behalf of the Dlang Core Team

Re: DIP1044---"Enum Type Inference"---Formal Assessment

2023-05-01 Thread ryuukk_ via Digitalmars-d-announce
On Monday, 1 May 2023 at 14:03:51 UTC, bachmeier wrote: On Monday, 1 May 2023 at 00:34:03 UTC, ryuukk_ wrote: I don't think it's a misconception. It's more like a complete lack of clarity. the goal is not to use an anonymous enum, the goal is to leverage the robust type system to avoid repet

Re: Tutorial on LDC's -ftime-trace

2023-05-01 Thread Johan via Digitalmars-d-announce
On Monday, 1 May 2023 at 17:56:21 UTC, Johan wrote: On Monday, 1 May 2023 at 14:00:23 UTC, Mike Parker wrote: Dennis Korpel has a new tutorial out on the foundation's YouTube channel, showing how to employ LDC's -ftime-trace option to improve your project's compile times. This can come in hand

Re: Tutorial on LDC's -ftime-trace

2023-05-01 Thread Johan via Digitalmars-d-announce
On Monday, 1 May 2023 at 14:00:23 UTC, Mike Parker wrote: Dennis Korpel has a new tutorial out on the foundation's YouTube channel, showing how to employ LDC's -ftime-trace option to improve your project's compile times. This can come in handy if you're heavily using metaprogramming or CTFE.

Re: DIP1044---"Enum Type Inference"---Formal Assessment

2023-05-01 Thread Max Samukha via Digitalmars-d-announce
On Monday, 1 May 2023 at 14:03:51 UTC, bachmeier wrote: ``` value.type = STRING; ``` IRL people would use namespacing prefixes or actual namespaces anyway, so your example would look more like ``` value.type = VALUE_TYPE_STRING; ```

Re: DIP1044---"Enum Type Inference"---Formal Assessment

2023-05-01 Thread bachmeier via Digitalmars-d-announce
On Monday, 1 May 2023 at 00:34:03 UTC, ryuukk_ wrote: I don't think it's a misconception. It's more like a complete lack of clarity. the goal is not to use an anonymous enum, the goal is to leverage the robust type system to avoid repeting yourself, wich is bad ``` Value value; value.type

Tutorial on LDC's -ftime-trace

2023-05-01 Thread Mike Parker via Digitalmars-d-announce
Dennis Korpel has a new tutorial out on the foundation's YouTube channel, showing how to employ LDC's -ftime-trace option to improve your project's compile times. This can come in handy if you're heavily using metaprogramming or CTFE. https://youtu.be/b8wZqU5t9vs