Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 Collections and memory leaks
Message
From
06/04/2017 16:28:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/04/2017 14:10:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01649799
Message ID:
01649915
Views:
54
I see. Sorry then no idea. I don't use collections.
I agree, python, go, ruby, js, C# ... are much better languages when you need to deal with collections and arrays.


>Hi Cetin
>
>Thanks for your contribution. I alway appreciate your views on the UT:)
>
>> I would try keeping away from COM unless absolutely needed.
>
>It is absolutely needed here. Of course, you might believe VFP is not suited for such tasks. I share you views that it's better to keep VFP at what is good at!
>
>Well I had to do that. And the Fox did cope pretty decently with this messy requirements. A miracle, at times...
>
>Yep, You wonder indeed how VFP, whose architecture is certainly not recent, could handle this complex com-based structures properly. It does except for the thing I mentioned, garbage not "collected" from dropped collections. I reckon storing these objects in collections is a no-go. Build them and have them stored in arrays and, should you need collections, use them as an integer pointer into your good old arrays...
>
>That's my experience here. As I said, this is a bit specific to VFP. I remember building such complex collection-based code in python with zero problems. But yep, in python, build a UI experience is still much, much, much harder work than VFP!
>
>Daniel
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform