Oh yes, that's a silly mistake! Easy enough to fix hopefully.
Kit
On 01/07/2024 18:09, Marģers . wrote:
> Fixed 2 and 3.
Thank you.
one more ...
{\$ifdef FPU_HAS_PURE}pure;{\$ENDIF}
FPU_HAS_PURE probably is typo and should be: FPC_HAS_PURE
--
This email has been checked for viruses by A
> Fixed 2 and 3. Thank you. one more ... {\$ifdef FPU_HAS_PURE}pure;{\$ENDIF}
> FPU_HAS_PURE probably is typo and should be: FPC_HAS_PURE ___
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc
Op 1-7-2024 om 10:33 schreef Mattias Gaertner via fpc-devel:
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?
Hmm, yes. You could maybe interface to the JVM and compile java that
way. But I don't eve
On a related note, I do wonder where pure functions might help with
JIT. It depends on what Florian and the other administrators and
developers seek, but currently I aim for my pure function implementation
to fulfil both standard properties (1. same output for the same
input(s), and 2. no side
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/
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 proba
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
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