mschnell at lumino.de
Mon Sep 4 10:45:29 CEST 2017
On 02.09.2017 11:59, Graeme Geldenhuys wrote:
> Like multi-threading, Interfaces are an advanced feature of the
> Object Pascal language. Unfortunately, many ways that it can be used
> incorrectly too.
Unfortunately multi-threading is not a feature of the Object Pascal
language :( . Oxygen does have it ("parallel loop" and "future"). I do
hope some day this will be seen in fpc (based on a thread-pool
implemented in the rtl).
Re Interfaces: Do you know a decent description of how to use Interface
_as_a_language_feature_ (e.g. in fpc) completely independent of their
use with certain OS-provided libraries ?
I once saw an implementation of a high bit count calculation library
based in Interfaces to add reference counting to the objects used to
hold the values. Do you suggest this Is a "correct use" of interfaces ?
More information about the fpc-pascal