[Gambas-user] Why can't I create native executables?
Benoît Minisini
benoit.minisini at gambas-basic.org
Sat Nov 18 12:33:36 CET 2023
Le 18/11/2023 à 12:25, Филипп Друан via User a écrit :
> Hi there!
> I'm a bit frustrated that you can't create an executable in Gambas that
> doesn't need an interpreter. Why wasn't this feature added? I have heard
> of a JIT compilation. Why not run it while building the executable?
>
Gambas is an interpreted language, it needs an interpreter, that's it.
If you don't want an interpreter, you must use a compiled language.
JIT compilation does not rewrite your code, it translates it into
something the system compiler can understand. But it does not
necessarily generates a better code in term of speed or memory, it takes
a lot of time to build, it needs the compiler to be installed on your
system, and it needs the interpreter to be present anyway.
Regards,
--
Benoît Minisini.
More information about the User
mailing list