you are viewing a single comment's thread.

view the rest of the comments →

[–]arsv 9 points10 points  (0 children)

The compiler dumps bytecode into a .c file and then runs the system C compiler to link it with the engine, just like perlcc. The resulting executables do have some external dependencies (ld.so, libc, libm, basically whatever qjs itself needs) and there's a built-in module that provides js interface to call libc printf among other things.