[fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

Maciej Izak hnb.code at gmail.com
Fri Jul 17 16:00:15 CEST 2015


>
> If delphi has a unit called "generics.collections" and then we introduce a
> unit with the same name, it should have the same interface and
> functionality (except where not possible due to cross-platform concerns
> etc).
>

Same interface and functionality is priority of the library. But it's not
that easy. It depends on many low level compiler details. In few cases
fully compatibility is impossible. You can check how compatible it is:

https://github.com/dathox/generics.collections/raw/master/GenericsCompatibilityMatrix.pdf



> Extensions are possible, but they should be put in separate units so that
> if Delphi extends its unit later in a different way, you can't get
> conflicts.
>

That can be improved.

Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20150717/dfaa183d/attachment.html>


More information about the fpc-devel mailing list