<p>Am 22.09.2014 10:38 schrieb "Michael Schnell" <<a href="mailto:mschnell@lumino.de">mschnell@lumino.de</a>>:<br>
><br>
> On 09/20/2014 08:33 PM, Giuliano Colla wrote:<br>
>><br>
>> Can you explain how reference counting can be safely implemented in a parallel multithreaded environment, without heavily affecting performance?<br>
><br>
> *Very* good point !<br>
><br>
> IMHO a by far more advantageous feature to be added than ref-counted objects would be RTL support and Syntax candy for "parallel Loops", and the necessary support stuff like "Future variables" (or similar thingies). <br>
><br>
> All new mid-level hardware now has art least four cores and hence performance would benefit from such features in may projects.<br>
><br>
> So maybe "ARC" and "parallel" paradigms should be discussed together so that no mutual problems are introduced.</p>
<p>Interfaces, strings and arrays already work well in multi threaded contexts and ARC will use the same mechanisms here, so there is no need to discuss "parallel" and ARC together.</p>
<p>Note: ARC doesn't change that the developer him-/herself needs to make his/her classes threadsafe. ARC only "protects" the references.</p>
<p>Regards,<br>
Sven</p>