Re: Alpine Linux 3.12 Released With D Language Support

2020-05-30 Thread Mathias LANG via Digitalmars-d-announce
On Saturday, 30 May 2020 at 21:48:32 UTC, Johan wrote: On Saturday, 30 May 2020 at 20:30:09 UTC, Cogitri wrote: On Saturday, 30 May 2020 at 20:03:30 UTC, Andrei Alexandrescu wrote: https://www.phoronix.com/scan.php?page=news_item=Alpine-Linux-3.12-Released I'm one of the DLang maintainers

Re: Alpine Linux 3.12 Released With D Language Support

2020-05-30 Thread Paul Backus via Digitalmars-d-announce
On Saturday, 30 May 2020 at 21:48:32 UTC, Johan wrote: Great work. Which compilers (and versions) are available? -Johan Looks like dmd [1], ldc [2], and gdc [3] are all there. [1] https://pkgs.alpinelinux.org/package/edge/community/x86_64/dmd [2]

Re: Alpine Linux 3.12 Released With D Language Support

2020-05-30 Thread Johan via Digitalmars-d-announce
On Saturday, 30 May 2020 at 20:30:09 UTC, Cogitri wrote: On Saturday, 30 May 2020 at 20:03:30 UTC, Andrei Alexandrescu wrote: https://www.phoronix.com/scan.php?page=news_item=Alpine-Linux-3.12-Released I'm one of the DLang maintainers for Alpine - please feel free to open issues at

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Bruce Carneal via Digitalmars-d-announce
On Saturday, 30 May 2020 at 20:29:37 UTC, Adam D. Ruppe wrote: On Saturday, 30 May 2020 at 20:14:04 UTC, Steven Schveighoffer wrote: On 5/30/20 4:02 PM, Andrei Alexandrescu wrote: module foo; @safe: Again, not the same. Read the full thread that you quoted above. And even aside from

Re: Alpine Linux 3.12 Released With D Language Support

2020-05-30 Thread Cogitri via Digitalmars-d-announce
On Saturday, 30 May 2020 at 20:03:30 UTC, Andrei Alexandrescu wrote: https://www.phoronix.com/scan.php?page=news_item=Alpine-Linux-3.12-Released I'm one of the DLang maintainers for Alpine - please feel free to open issues at https://gitlab.alpinelinux.org/alpine/aports/issues if you notice

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 30 May 2020 at 20:14:04 UTC, Steven Schveighoffer wrote: On 5/30/20 4:02 PM, Andrei Alexandrescu wrote: module foo; @safe: Again, not the same. Read the full thread that you quoted above. And even aside from inference, it doesn't actually work for most the attributes. @safe

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread James Lu via Digitalmars-d-announce
On Friday, 29 May 2020 at 05:08:44 UTC, Bruce Carneal wrote: Thanks Walter. Thanks to everyone in the commmunity for being nice and saying "Thank you." As a cautionary tale, Guido Van Rossum, former BDFL of Python, resigned over flamewars on the := operator in Python, the same arguments

Re: Alpine Linux 3.12 Released With D Language Support

2020-05-30 Thread Dibyendu Majumdar via Digitalmars-d-announce
On Saturday, 30 May 2020 at 20:03:30 UTC, Andrei Alexandrescu wrote: https://www.phoronix.com/scan.php?page=news_item=Alpine-Linux-3.12-Released I recently installed Ubuntu 20.04 LTS on Windows 10. $sudo apt info gdc Package: gdc Version: 4:10.0-1ubuntu2 Priority: optional Section:

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/30/20 4:02 PM, Andrei Alexandrescu wrote: On 5/30/20 7:39 AM, Nick Treleaven wrote: On Friday, 29 May 2020 at 21:18:13 UTC, Walter Bright wrote: On 5/29/2020 2:07 AM, Timon Gehr wrote: It would be great if `@safe:` did not affect declarations that would otherwise infer annotations. The

Alpine Linux 3.12 Released With D Language Support

2020-05-30 Thread Andrei Alexandrescu via Digitalmars-d-announce
https://www.phoronix.com/scan.php?page=news_item=Alpine-Linux-3.12-Released

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/30/20 7:39 AM, Nick Treleaven wrote: On Friday, 29 May 2020 at 21:18:13 UTC, Walter Bright wrote: On 5/29/2020 2:07 AM, Timon Gehr wrote: It would be great if `@safe:` did not affect declarations that would otherwise infer annotations. The idea is the simple, general rule that:  

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Paul Backus via Digitalmars-d-announce
On Saturday, 30 May 2020 at 16:17:49 UTC, Steven Schveighoffer wrote: +1 this would be perfect. Not sure if this would work either, but both of these are already reserved words: default @safe: -Steve It would probably have to be something more like `default(@safe)`, since `default

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/30/20 7:39 AM, Nick Treleaven wrote: On Friday, 29 May 2020 at 21:18:13 UTC, Walter Bright wrote: On 5/29/2020 2:07 AM, Timon Gehr wrote: It would be great if `@safe:` did not affect declarations that would otherwise infer annotations. The idea is the simple, general rule that:  

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Bruce Carneal via Digitalmars-d-announce
On Friday, 29 May 2020 at 21:38:40 UTC, Adam D. Ruppe wrote: On Friday, 29 May 2020 at 21:18:13 UTC, Walter Bright wrote: The idea is the simple, general rule that: There's already exceptions to that. public public void foo() {} is an error, whereas public: public void foo() {} is not.

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Nick Treleaven via Digitalmars-d-announce
On Friday, 29 May 2020 at 21:18:13 UTC, Walter Bright wrote: On 5/29/2020 2:07 AM, Timon Gehr wrote: It would be great if `@safe:` did not affect declarations that would otherwise infer annotations. The idea is the simple, general rule that: attribute declaration; attribute {

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Walter Bright via Digitalmars-d-announce
On 5/29/2020 2:38 PM, Adam D. Ruppe wrote: On Friday, 29 May 2020 at 21:18:13 UTC, Walter Bright wrote: The idea is the simple, general rule that: There's already exceptions to that. public public void foo() {} is an error, whereas public:   public void foo() {} is not. Is it really an

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Iain Buclaw via Digitalmars-d-announce
On Friday, 29 May 2020 at 04:53:07 UTC, Walter Bright wrote: The subject says it all. If you care about memory safety, I recommending adding `safe:` as the first line in all your project modules, and annotate individual functions otherwise as necessary. For modules with C declarations, do as

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Walter Bright via Digitalmars-d-announce
On 5/29/2020 2:53 AM, solidstate1991 wrote: Can we get a compiler flag that will enable safe by default for people who might want it? It would balkanize the language.

Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread Iain Buclaw via Digitalmars-d-announce
On Friday, 29 May 2020 at 11:04:00 UTC, jmh530 wrote: On Friday, 29 May 2020 at 04:53:07 UTC, Walter Bright wrote: [...] Thank you Walter. I am sure this was not an easy decision, and I respect how you have handled the response. I think one important takeaway from this should be that