Re: Anyone interested in mentoring?

2023-07-13 Thread Emmanuel Danso Nyarko via Digitalmars-d-announce
On Wednesday, 12 July 2023 at 16:53:21 UTC, Emmanuel Danso Nyarko 
wrote:
On Tuesday, 11 July 2023 at 15:52:54 UTC, Ferhat Kurtulmuş 
wrote:

On Tuesday, 11 July 2023 at 02:18:34 UTC, Emmanuel wrote:
I would like to work on the interoperability between C++ 
associative containers and the D language.


I am so sad that this forum has a lot of orphan entries 
recently. I don't know which kind of mentorship you need. I 
cannot provide any level of it, but I would start forking DMD 
and work on stdcpp folder. Take a look at how std::vector is 
wrapped in druntime for instance.




https://github.com/dlang/dmd/tree/master/druntime/src/core/stdcpp

The mentorship I need is for the SAOC application. I just 
checked stdvector out and it is a great piece. I'll be 
researching more into it. Thanks


I hope you'll be available to mentor me for this program.


Re: D Language Foundation June 2023 Monthly Meeting Summary

2023-07-13 Thread Paul Backus via Digitalmars-d-announce

On Thursday, 13 July 2023 at 14:00:49 UTC, Mike Parker wrote:
Finally, I told everyone about a conversation I'd had with 
someone who was planning to submit a proposal to add slices to 
C. Walter was happy to hear about that, as he had been 
informally pushing for that for years. He talked about his 
article on the topic ([C's Biggest 
Mistake](https://digitalmars.com/articles/C-biggest-mistake.html)) and how C++ had copied that mistake. He says it can be backward compatible in C and analogous to D's slices, it just wouldn't allocate memory for you.


Last time this topic came up, I did some research and found a 
proposal for slices in C23 that was ultimately rejected:


https://forum.dlang.org/post/jofetbpwdufuhjznv...@forum.dlang.org

If they have not already, the author of this new proposal may 
wish to familiarize themself with N2660 and its reception by WG 
14.


Re: D Language Foundation June 2023 Monthly Meeting Summary

2023-07-13 Thread Mike Parker via Digitalmars-d-announce

On Thursday, 13 July 2023 at 14:00:49 UTC, Mike Parker wrote:

said in the chat window that this is a straight-up bug). Átila 
had also learned that static constructors should always be 
`nothrow`. Walter said he couldn't see why anyone would write a 
static constructor that throws. Átila said the point is, it's 
not muscle memory. It's easy to forget to add `nothrow`. Walter 
asked him to file an enhancement request on Bugzilla to make 
static construction `nothrow`.




I forgot to add the follow up on this. Átila did open the issue, 
and Razvan submitted a PR to see what breaks.


https://issues.dlang.org/show_bug.cgi?id=23973

https://github.com/dlang/dmd/pull/15318


D Language Foundation June 2023 Monthly Meeting Summary

2023-07-13 Thread Mike Parker via Digitalmars-d-announce
The monthly meeting for June 2023 took place on Friday the 2nd at 
15:00 UTC. It lasted about an hour. We had three new faces for 
this one: Adam D. Ruppe, Steven Schveighoffer, and Nick 
Treleaven. I'll be sending them invites to all of our future 
monthlies, but we've left it up to them to decide if they want to 
become regular or part-time members.


The following people attended:

* Walter Bright
* Ali Çehreli
* Martin Kinkelin
* Dennis Korpel
* Mathias Lang
* Átila Neves
* Razvan Nitu
* Mike Parker
* Adam D. Ruppe
* Robert Schadek
* Steven Schveighoffer
* Nick Treleaven

## The summary

### Me
I opened with a reminder that Razvan had sent most of us an email 
reporting that he had set up an initial set of projects on [our 
GitHub Projects 
page](https://github.com/orgs/dlang/projects?query=is%3Aopen) as 
we'd decided in our planning sessions. The projects were all 
private. I emphasized that once we made them public, we needed to 
start focusing on them. The project list should become part of 
our regular workflow. I asked that everyone look over the project 
list and make sure they're okay with it, after which we could 
make it public. (We have since done so.)


Razvan said that when any of us submit a PR related to one of the 
projects, we should add it to the project so that anyone who 
wants to can follow along. Dennis said he was excited for us all 
to start using organized task lists, and Walter thanked Razvan 
for setting it up.


Next, I gave an update on the DConf submissions. We'd received 39 
submissions from 20 people and 1 team. We had already begun the 
selection process. I and one other person had made our selections 
and I was still waiting for two more. I reminded them that I 
wanted to publish the schedule as soon as possible, so I asked 
that they get their choices made over the weekend. (The four 
people making the selections were Walter, Átila, Ali, and me. I 
had all of the selections by Saturday night my time and 
subsequently informed all of the submission authors of their 
status.)


Finally, I told everyone about a conversation I'd had with 
someone who was planning to submit a proposal to add slices to C. 
Walter was happy to hear about that, as he had been informally 
pushing for that for years. He talked about his article on the 
topic ([C's Biggest 
Mistake](https://digitalmars.com/articles/C-biggest-mistake.html)) and how C++ had copied that mistake. He says it can be backward compatible in C and analogous to D's slices, it just wouldn't allocate memory for you.


### Robert
Robert said his biggest gripes had been added to the project 
list, so he was a happy camper.


Other than that, the only thing he had to report was an update on 
the Bugzilla to GitHub migration. At the time, I had done some 
testing with the program he wrote for it and found some problems 
with it, so he was going to work on fixing those and improving 
the usability. I had set up a dummy repository to test it out on 
and he would use that for further testing. (He got it back to me 
a couple of weeks later. I have since submitted two forum posts 
([post 
one](https://forum.dlang.org/post/pfpoeaoihsqpohumj...@forum.dlang.org) and [post two](https://forum.dlang.org/thread/kttzxwbbvdpzxlmoy...@forum.dlang.org)) soliciting feedback and providing updates. You can track the progress on this task in our [Enhance the Ecosystem project](https://github.com/orgs/dlang/projects/23?pane=issue=29572916).)


### Mathias
Mathias had nothing to report.

### Martin
Martin had been on vacation, so had nothing completed to report 
on. His immediate plans were to finalize the LDC 1.33 release, 
which was based on D 2.103, then get to work on the 2.104 merge. 
(He announced [the first 1.33 beta on May 
14](https://forum.dlang.org/thread/umxjxuzvitbnmtezw...@forum.dlang.org) and [the second on June 11](https://forum.dlang.org/thread/jmshfqmyceakivyhs...@forum.dlang.org)).


### Dennis
Dennis was in a car, so was only listening.

### Ali
Ali had nothing to report. He was still using D at work. He was 
happily producing successful stuff with it.


### Razvan

__An issue with runtime hooks__

Razvan opened by reminding everyone that Teodor Dutu was still 
working on converting DRuntime hooks to templates and that the 
project was part of a major goal we had set to get to a 
pay-as-you-go DRuntime (which you [can follow on our project 
tracker](https://github.com/orgs/dlang/projects/34)). He had 
noticed that some of those hooks are [implemented in 
rt/lifetime.d](https://github.com/dlang/dmd/blob/master/druntime/src/rt/lifetime.d). Nothing in the `rt` package is supposed to be imported outside of the `rt` package itself (see [the DRuntime README](https://github.com/dlang/dmd/blob/master/druntime/README.md)). However, `object.d` needs to use some of those hooks, so it declares `extern(C)` function prototypes to make that possible. He asked if anyone knew why we were doing it that way.


Mathias said it's just for historical