On Sun, 17 Dec 2017, Benito van der Zander wrote:

Hi,


Naturally, any memory pointer operation is not possible in Javascript. Code that relies on this will not work.


it would be great, if pointers were added.

I really don't see the point of that. As Mattias pointed out, pointers to 
classes
exist. Very likely pointers to records will be added (because they are
object literals this is relatively easy), but that's about it.
Even so, pointer math is not possible, so I really don't see the benefit.

The idea is to be able to program the browser using a reasonable subset of
Object Pascal, not to port arbitrary pascal code. So if time must be allocated on new features, it most likely will not be on emulating pointers, but
rather on more high-level features.

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

Reply via email to