[fpc-devel] XML node dump feature

Ben Grasset operator97 at gmail.com
Wed Jun 26 15:58:15 CEST 2019


On Wed, Jun 26, 2019 at 1:48 AM J. Gareth Moreton <gareth at moreton-family.com>
wrote:

> Maybe I'm misreading this, but does that mean you're not a fan of the
> "pure" directive, Jonas?
>

It seems like if anything, he may have misunderstood that in this context,
"in the hands of the user" is not intended to mean that people will be able
to just mark absolutely anything as `pure` and have it magically work
somehow.

I.E. as you've stated, functions marked `pure` will be checked, and the
compiler will give an error if it turns out they cannot actually *be*
`pure`.

In general though, IMO, something like `pure` that will be usable from all
backends is certainly more useful on a longterm basis than relying directly
on optimizations from the LLVM backend (which has rather limited platform
support.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190626/c35f8ffa/attachment.html>


More information about the fpc-devel mailing list