1 min readJul 30, 2019
Thanks for writing this up on such a new technology! With so few resources since it’s fresh off the press, it was helpful to find it.
One comment (and something to consider updating in your article: The section where you modify the compiler (Add the module name to the compiler) is not necessary — the -M
command line parameter does this for you.
ex:
qjsc -M YourSharedLib -o output MyModule.js
This would load up your shared library the same way, but without having to modify the source of the compiler.