Re: A New Era for the D Community

2023-06-27 Thread Francesco Mecca via Digitalmars-d-announce
On Wednesday, 3 May 2023 at 11:13:34 UTC, Mike Parker wrote: You're going to hear more about IVY as time goes by, and eventually, we're going to start employing it more broadly in the community. We now have a better idea of how to more effectively guide contributors so that they can be more

Re: DIP1028 - Rationale for accepting as is

2020-05-22 Thread Francesco Mecca via Digitalmars-d-announce
On Friday, 22 May 2020 at 12:25:23 UTC, jmh530 wrote: On Friday, 22 May 2020 at 01:22:19 UTC, Walter Bright wrote: [snip] Thank you for your reply. How about some time before this DIP is fully in the language, a compiler flag is added that will produce warnings for when extern prototypes

Re: On the D Blog: Lomuto's Comeback

2020-05-15 Thread Francesco Mecca via Digitalmars-d-announce
On Thursday, 14 May 2020 at 13:26:23 UTC, Mike Parker wrote: After reading a paper that grabbed his curiosity and wouldn't let go, Andrei set out to determine if Lomuto partitioning should still be considered inferior to Hoare for quicksort on modern hardware. This blog post details his

Re: Unused imports

2020-01-30 Thread Francesco Mecca via Digitalmars-d-learn
On Thursday, 30 January 2020 at 16:23:54 UTC, Michael wrote: Is there a way to detect unused imports? It happened to me that I used imports which I did not need in the end. So, I'd like to remove them easily. https://issues.dlang.org/show_bug.cgi?id=20442 TL;DR This has come up in the past

Re: SAOC Experience Report: Porting a fork-based GC

2019-07-23 Thread Francesco Mecca via Digitalmars-d-announce
On Monday, 22 July 2019 at 15:58:08 UTC, a11e99z wrote: On Monday, 22 July 2019 at 14:03:15 UTC, Mike Parker wrote: Francesco Mecca ha written an experience report for the D Blog about his SAOC 2018 project, porting Leandro Lucarella's old GC from D1 to D2. The blog:

Re: SAOC Experience Report: Porting a fork-based GC

2019-07-23 Thread Francesco Mecca via Digitalmars-d-announce
On Monday, 22 July 2019 at 16:52:08 UTC, rikki cattermole wrote: I may have another try at it, if somebody can give me pointers on where the actual reading occurs in the GC. Because it has left me a bit stumped. Come talk in the IRC channel. I am there and people are super helpful.

Re: SAOC Experience Report: Porting a fork-based GC

2019-07-23 Thread Francesco Mecca via Digitalmars-d-announce
On Monday, 22 July 2019 at 20:57:19 UTC, Meta wrote: On Monday, 22 July 2019 at 14:03:15 UTC, Mike Parker wrote: > [...] A pull request to the D runtime was my final milestone. I was ready at the beginning of February, but I started to procrastinate. I’d had no previous communication with

"if" statement

2019-03-24 Thread Francesco Mecca via Digitalmars-d-learn
https://run.dlang.io/is/zRcj59 ``` alias Alg = Algebraic!(int, string); void main() { int n = 2; Alg value; value = n == 2 ? 2 : "string"; } ``` The original code used SumType but the effect is the same. I suppose that I could write the following: ``` if(n == 2) value =

Re: Map of functions

2018-12-14 Thread Francesco Mecca via Digitalmars-d-learn
On Friday, 14 December 2018 at 17:45:26 UTC, rjframe wrote: On Fri, 14 Dec 2018 16:33:44 +, Giovanni Di Maria wrote: I need the flow of calls. Thank you Giovanni gprof will do this on Linux/BSD if gdc supports the -pg flag (I don't know whether it would, but assume so) and your

Re: Google Summer of Code 2019

2018-12-10 Thread Francesco Mecca via Digitalmars-d-announce
On Sunday, 25 November 2018 at 13:58:25 UTC, Mike Parker wrote: The time has come to start thinking about GSoC 2019. The application deadline for mentoring organizations is on February 6. I'd like to get a solid list of project ideas for potential student applications. I've set up a new page

Re: Looking for the article comparing D to Ada and others

2018-07-26 Thread Francesco Mecca via Digitalmars-d
On Wednesday, 25 July 2018 at 21:59:52 UTC, Ali Çehreli wrote: Somebody had posted an article here on how well different languages matched certain requirements of a certain coding safety standards. I remember D was doing pretty well and I think Ada (or SPARK?) was included as well. What

Re: DotfiM v0.0.1 - A dotfile manager

2018-07-03 Thread Francesco Mecca via Digitalmars-d-announce
On Saturday, 30 June 2018 at 14:27:39 UTC, Timoses wrote: Thought I'd try a release of this project of mine which I find very useful. https://github.com/Timoses/dotfim DotfiM is capable of syncing your dotfiles across machines via a git repository. Simply download DotfiM, build it and run

Re: Tuple DIP

2018-06-26 Thread Francesco Mecca via Digitalmars-d
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote: As promised [1], I have started setting up a DIP to improve tuple ergonomics in D: [...] What is the status of the DIP? Is it ready to be proposed and dicussed?

Re: DIP 1015--removal of implicit conversion from integer and character literals to bool--Community Review Round 1

2018-06-21 Thread Francesco Mecca via Digitalmars-d
On Thursday, 21 June 2018 at 17:11:07 UTC, Steven Schveighoffer wrote: On 6/20/18 4:16 AM, Mike Parker wrote: [...] I agree with everything, but one thing that is not specified here is when integers are used as conditionals. In other words, this still has to compile: if(1) ... enum a =