On 21.09.2014 21:29, Peter Popov wrote:
Sven,
based on your comments a bizarre thought came to me. Currently, class
instances are pointers. What you propose will somehow create a special
pointer type (referenced class).

Huh? Why do you think that? It would just be that variables with a reference counted class type are handled differently. Isn't that exactly what you wanted? Leave normal classes untouched and add reference counting in such a way that it doesn't need to be used...

And I consider your pointer compression a really bad idea. It's bad to make assumptions about the memory layout especially when we have a general purpose compiler/RTL which would have no problems of using the complete address space.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to