> On Jun 2, 2018, at 1:44 PM, Michael Van Canneyt <mich...@freepascal.org> 
> wrote:
> 
> 2 remarks:
> 1. It's only for arrays
> 2. It's for fixed-length arrays
> 
> So you can do this in FPC today.
> 
> Thirdly, you have objects which can be allocated on the stack, or advanced
> records.
> 
> Plenty of choice for you.

yes indeed. It’s just interesting because “stackalloc” basically swaps the 
memory backend and there’s a precedent for such a thing happening and in  a 
very popular language. The hacker in me wants to play around with that idea in 
FPC to see what emerges.

If management operators stick around there’s lots of potential to make advanced 
records a strong alternative. Best feature added to FPC is a while IMO so 
hopefully they survive the drama. :)

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to