Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2019-03

Closures repo

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ryan Joseph

So I came across a backup repo that Maciej made of the development for closures (from 2015, not sure when the original author stopped working on it). I know Sven said some months back the original author is still working on it but that’s been said for literally years now and do we even have contact with the author anymore? From what I can tell most the work is already done so can we just fix all the problems in his code and get this finished already? I saw a list of concerns from Sven and Jonas in an old email thread and they could be addressed pretty easily. What a waste this has been just sitting there for 3+ years. Hope we can get this resolved sooner than later.

https://github.com/maciej-izak/freepascal/tree/closures

Regards,
Ryan Joseph

Reply by email

Blaise Thorn
to Ryan Joseph
do we even have contact with the author anymore?

FTR, the author automatically monitors this list for the keyword "closures".

From what I can tell most the work is already done

IIRC, the last publicly available version lacks lifetime management support amongst other crucial stuff. FTR, the code is now used in production, which was not the case some time ago, and which helped in identifiying some additional issues.

Should you be interested in writing tests, I could give you the acess.

βþ

Reply by email

Ryan Joseph
to Blaise Thorn
On Mar 21, 2019, at 3:54 PM, Blaise Thorn wrote: FTR, the author automatically monitors this list for the keyword "closures”.

Then maybe he’ll hear this and respond. He’s been mentioned repeatedly over the months and years but I have no idea if he’s still there or abandoned the project.

Show quoted text 7 lines
> From what I can tell most the work is already done IIRC, the last publicly available version lacks lifetime management support amongst other crucial stuff. FTR, the code is now used in production, which was not the case some time ago, and which helped in identifiying some additional issues. Should you be interested in writing tests, I could give you the acess.

So there’s a more recent version that’s being worked on? I’m happy to write tests or do anything else to just get this finished finally. Please tell me more.

From what I saw in that repo the captures are stored in an interfaced object which has reference counting right? Maybe expand on the lifetime management issues more.

Regards,
Ryan Joseph

Reply by email

Blaise Thorn
to Ryan Joseph

Thursday, March 21, 2019 11:48 PM +03:00 from Ryan Joseph :

Then maybe he’ll hear this and respond.

I just did.

I’m happy to write tests

I will privately email you the details next week.
(FTR, since I asked for help with writing tests on this list, you are the second one who volunteered in all those years).

βþ

Reply by email

Ryan Joseph
to Blaise Thorn
Show quoted text 6 lines
On Mar 21, 2019, at 5:01 PM, Blaise Thorn wrote: Thursday, March 21, 2019 11:48 PM +03:00 from Ryan Joseph : > Then maybe he’ll hear this and respond. I just did.

Oh, you’re the author! I recognize the email now. Yes, please tell me what the status is and what’s left to do. If you have a more recent git repository somewhere send that also so I can look it over. I already started to do some work on that old one from 2015 but I assume you fixed many of the minor details since then.

Regards,
Ryan Joseph

Reply by email

Sven Barth
to Ryan Joseph

Ryan Joseph schrieb am Do., 21. März 2019,
22:43:

Show quoted text 12 lines
> On Mar 21, 2019, at 5:01 PM, Blaise Thorn wrote: > > Thursday, March 21, 2019 11:48 PM +03:00 from Ryan Joseph < >: >> Then maybe he’ll hear this and respond. > > I just did. Oh, you’re the author!

Gotta admit, that was funny to read 🤣

But anyway, I hope that we can resolve this rather sooner than later as well.

Regards,
Sven

Reply by email