Replies: 1 comment 26 replies
-
Look at the codegen Makefile target as an example. The first thing it does is compile the repl JS file to a C file that it's then added to the project so the bytecode can be evaluated. Is this the use case you have? |
Beta Was this translation helpful? Give feedback.
26 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
How do I use qjsc? I've been an on hours-long rabbit hole trying to improve my Typst compile times -- the Pintora JS extension compiles on every document compile and I feel like I could speed that up by precompiling.
I downloaded qjsc for linux and I get ENOENT and feel like I'm going insane -- even running with
strace
doesn't help as it doesn't tell me what file I'm missing.I downloaded qjsc for Windows and the program silently exits with no feedback no matter what arguments I use.
https://bellard.org/quickjs/quickjs.html#qjsc-compiler-1 this documentation tells me that the compiler exists, but not how to use it.
Can someone please guide me? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions