> On Jul 18, 2018, at 7:14 AM, Ben Grasset <[email protected]> wrote:
>
> Classes are unsuitable performance-wise for many use cases, and TP objects
> lack important features such as variant parts. Advanced records are a great
> lightweight in-between point.
Yes indeed. Not being able to allocate classes on the stack is a scandal for
Pascal. I don’t know why the devs decided classes must be on the heap and
anything other than that would violate some supposed design principle
(Delphi??).
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal