I am new to javascript and I recently learned that javascript was JIT compiled but if javascript is JIT compilable, can't we just compile a whole program to create an executable ?
Asked
Active
Viewed 59 times
-1
-
2https://stackoverflow.com/q/1118138/438992 etc. – Dave Newton Apr 25 '22 at 22:58
-
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Apr 26 '22 at 00:39
1 Answers
0
Deno CLI can compile javascript scripts to self-contained executables.

race
- 39
- 5
-
I wonder if there's really any translation to machine code, or if it just embeds a script into t text/data section of an executable and then feeds that into a JavaScript runtime. – starball May 05 '23 at 23:01