[fpc-devel] Suggestion: reference counted objects

Boian Mitov mitov at mitov.com
Mon Sep 22 20:51:33 CEST 2014

I am not big fan of the compiler handling parallel loops, as it will limit 
any flexibility in implementation.
A library based functionality with shared executors is a better design, and 
it allows not only for parallel loops but also for easy parallel recursions 
and many other combined(iterative/recursive) constructs.

With best regards,
Boian Mitov

Mitov Software
-----Original Message----- 
From: Michael Schnell
Sent: Monday, September 22, 2014 5:58 AM
To: fpc-devel at lists.freepascal.org
Subject: Re: [fpc-devel] Suggestion: reference counted objects

On 09/22/2014 02:51 PM, Sven Barth wrote:
> Then you should also not use interfaces, strings and arrays, because they 
> use the same mechanisms.
Yep. The advanced developer should know what he is doing.
> What us confusing there?
Of course I do know the pitfalls.

If fpc would provide a syntax for "parallel loop" and "future variables"
e.g. similar to what Prism offers, even more inexperienced users will be
inclined to use (invisible) threads. I suppose it's not possible to
avoid the "confusion" that is introduced by this, but it should be
limited as much as possible. (No idea how.)

fpc-devel maillist  -  fpc-devel at lists.freepascal.org

More information about the fpc-devel mailing list