In the case of JVM, the JIT compiler is specific to Java, I think.
Normally JIT requires the source code to be compiled into an
intermediate bytecode first (e.g. Java bytecode or the Common
Intermediate Language (.NET)).
Kit
On 01/07/2024 09:33, Mattias Gaertner via fpc-devel wrote:
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
_______________________________________________
fpc-devel maillist - fpc-devel@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
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel