[fpc-pascal] Smart Pointers

Marco van de Voort marcov at stack.nl
Wed May 11 14:31:58 CEST 2016


In our previous episode, Michael Van Canneyt said:
> > For example fgl module is part of RTL just because is usefully
> > for Sven for testing purposes (! that is curious).
> 
> Where is that written ?  As far as I know, it is only there because classes
> is there, and classes has some define to allow it to be compiled with fgl.

(I don't know if that is the reason, but probably there was not much
discussion about it because it is small)
 
> > There is no reason in keeping that module in RTL
> 
> As said, I think classes may be moved as well, and then fgl may be moved as
> well.

Indeed, this is only a working division, and nothing is set in stone, but
the objective is to avoid letting the rtl get too big.

Originally that was because of speed reasons (packages/ can be built in
parallel and rtl is compiled many times), but in retrospect packages/ is
much easier to administer, and it makes life a bit easier for new porters.

> > Generics.* is absolute other category of module
> > with base and complex support for *any* stuff related to generics + has
> > better testing purposes than fgl.
> >
> > Please just don't add Generics.* into FPC as package. :/
> 
> Nevertheless, that is what is going to happen.

With the current situation: imho yes. And even if there are changes they
will be more directed to move more units out of the RTL rather than move
than back.
 



More information about the fpc-pascal mailing list