We’ve been considering this library at work for a performance sensitive application (real time game). Can anyone here speak to the performance and memory usage of QuickJS?
New QuickJS Release
11–20 of 31 posts
Re: New QuickJS Release
#12One quick improvement would be to have a Readme.
Re: New QuickJS Release
#13One quick improvement would be to have a Readme.
The newsworthy bit here is that the activity seemed to have stalled for year or two and now Fabrice pushed a few fixes and made a new release.
Re: New QuickJS Release
#14QuickJS is really cool! You can use it to embed JS code in a native binary, which is nice if you're trying to use a NodeJS library outside of the JS ecosystem. I put together a proof of concept for this about a year ago, in case this is a use case you currently have: https://github.com/ijustlovemath/jescx
Re: New QuickJS Release
#15QuickJS is really cool! You can use it to embed JS code in a native binary, which is nice if you're trying to use a NodeJS library outside of the JS ecosystem. I put together a proof of concept for this about a year ago, in case this is a use case you currently have: https://github.com/ijustlovemath/jescx
stupid question but... doesn't Deno also promise that possibility? Or at least to compile a js app into a binary
Re: New QuickJS Release
#16We’ve been considering this library at work for a performance sensitive application (real time game). Can anyone here speak to the performance and memory usage of QuickJS?
For a long running orlarge JS code something like Spidermonkey or V8 with their JITs might be faster. But they are not as embedding friendly and their code bases are much larger.
Re: New QuickJS Release
#17Re: New QuickJS Release
#18If you want to safely evaluate untrusted Javascript in the browser or Node with control over CPU time and memory use, a custom module system, or call async code synchronously, check it out: https://github.com/justjake/quickjs-emscripten
It's used by a few projects like Hoppscotch, a Postman-like visual API client (https://hoppscotch.io/). They use it for request scripting: https://docs.hoppscotch.io/documentation/getting-started/res...
Re: New QuickJS Release
#19Re: New QuickJS Release
#20QuickJS is really cool! You can use it to embed JS code in a native binary, which is nice if you're trying to use a NodeJS library outside of the JS ecosystem. I put together a proof of concept for this about a year ago, in case this is a use case you currently have: https://github.com/ijustlovemath/jescx
stupid question but... doesn't Deno also promise that possibility? Or at least to compile a js app into a binary
[1] https://nitter.net/kebsworld/status/1648488613351657474#m