Ask HN: Who wants to collaborate?
390 pointsThis thread is similar to the monthly "Who is hiring?" and "Freelancer? Seeking freelancer?" threads.
But this one is for people who don't want to work for money and are not looking for people who want to work for money. But for people who want to work together on cool projects.
For free to make the world better or to start a startup.
If you do, please post your project or your skills!
Comments (490) 189 threads
Show all comments
Showing thread 12 of 189
One problem is that it’s very difficult for an app to run arbitrary, untrusted user code in a way that’s secure and efficient, especially in the browser. Apps need to worry about XSS and unintended remote code execution, much less try adding those things as a feature.
I started working on a Typescript/WebAssembly library around the QuickJS JavaScript runtime to address this need. QuickJS runs modern ES2020 and provides an API for the host process to set CPU and memory budgets for the execution environment, which is completely sandboxed. My work so far exposes a basic interface to create VMs, expose APIs from the host to the guest, and evaluate code.
Repo: https://github.com/justjake/quickjs-emscripten
NPM: https://www.npmjs.com/package/quickjs-emscripten
Areas of work:
- Make the library importable as ES modules on the web without a Webpack build step.
- Design higher-level but still security-conscious APIs for building plugin systems on top of the existing library.
- Expose more QuickJS C APIs to library users.
- Performance or ergonomic improvements.
If you share any of these goals or would like to help out, please drop me a line on GitHub (eg by opening an issue), or via any of the links on my HN profile.
Similarly the older Caja project: https://en.wikipedia.org/wiki/Caja_project
FWIF, Figma's plugin system started out with Agoric's Realms shim and then switched to QuickJS after a security incident: https://www.figma.com/blog/an-update-on-plugin-security/
It's your goal for applications to adopt your library as a generic extension mechanism? I really like this idea.
[0] membrane.io