> >>>never used them. > > > > > > That's because they are quite limited if you have dynamic, non garbage > > collected > > objects. > > Why? Use them with interfaces if you need garbage collection and it > works perfectly.
Because that is not the same. A fully GC language can optimize a lot of overhead away. GC duck-taped on a native language is not pretty useful. See the only big experiment that uses interfaces this way: decal and its abmyssal performance. One can discuss if it comes back to native level as the .NET and Java advocatist claim ( I don't), but no matter what you think about that subject, native-with-gc is worse. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal