[fpc-devel] pure function feedback
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Jul 1 10:33:00 CEST 2024
On 7/1/24 09: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.
But that is just the backend, FPC still works only at compile time, so
no JIT at runtime possible. Is it?
Mattias
More information about the fpc-devel
mailing list