[fpc-devel] pure function feedback

J. Gareth Moreton gareth at moreton-family.com
Mon Jul 1 10:13:46 CEST 2024


Aah, thanks Marco.  I still have some things to learn about FPC!

Kit

On 01/07/2024 08:05, Marco van de Voort via fpc-devel wrote:
>
> Op 1-7-2024 om 02:34 schreef Hairy Pixels via fpc-devel:
>> I had a question about pure functions. I'm seeing some newer 
>> languages have a JIT built-in so they can run any function at compile 
>> time. To get results at compile time you probably need to use a 
>> constant for the parameters but in theory it could read/write to 
>> global variables so it's not really "pure" but still makes it 
>> possible to run functions at compile time.
>
> FPC has JIT backends like JVM.
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>

-- 
This email has been checked for viruses by Avast antivirus software.
www.avast.com


More information about the fpc-devel mailing list