wizer VS quickjs-emscripten

Compare wizer vs quickjs-emscripten and see what are their differences.

wizer

The WebAssembly Pre-Initializer (by bytecodealliance)

quickjs-emscripten

Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions (by justjake)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
wizer quickjs-emscripten
10 25
974 1,360
1.5% 2.9%
7.6 9.1
5 months ago 4 months ago
Rust TypeScript
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

wizer

Posts with mentions or reviews of wizer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-07.

quickjs-emscripten

Posts with mentions or reviews of quickjs-emscripten. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-26.
  • Lua Is So Underrated
    27 projects | news.ycombinator.com | 26 Dec 2024
    I’m not sure if wasm would be considered full process isolation but it does provide a software based sandboxing. I’m referring to running quickjs in wasm by compiling it with emscripten.

    https://github.com/justjake/quickjs-emscripten

  • The XOR Texture
    5 projects | news.ycombinator.com | 17 Dec 2024
    If you were not worried about preventing external requests and were okay with it being able to make requests as an arbitrary webpage unrelated to your site could if opened, then loading the code in an iframe with the sandbox="allow-scripts" attribute is enough.

    If you needed tighter sandboxing than that, then I think WebAssembly is your best bet because you can control exactly what APIs are exposed to a WebAssembly module. You could then let users submit WebAssembly modules or let them submit JS that will be run in a JS interpreter running in WebAssembly. I think https://github.com/justjake/quickjs-emscripten or https://github.com/fermyon/StarlingMonkey (used by https://github.com/bytecodealliance/ComponentizeJS) look like the best bets for that currently.

  • Execute JavaScript in a WebAssembly QuickJS Sandbox
    2 projects | dev.to | 7 Jul 2024
    The foundation of my package is built upon the excellent work done by the quickjs-emscripten project (https://github.com/justjake/quickjs-emscripten). They've done the crucial work of compiling QuickJS to WebAssembly, enabling its use in web and Node.js environments. What I've created is a high-level abstraction layer around this WebAssembly implementation, designed with developer experience in mind.
    5 projects | news.ycombinator.com | 7 Jul 2024
    The underlying quickjs-emscripten library has APIs for exposing host functions, calling guest functions, custom module loaders, etc: https://github.com/justjake/quickjs-emscripten?tab=readme-ov...
  • New QuickJS Release
    6 projects | news.ycombinator.com | 9 Dec 2023
  • Extism Makes WebAssembly Easy
    13 projects | news.ycombinator.com | 4 Oct 2023
    The thing I want to achieve with WebAssembly is still proving a lot harder than I had anticipated.

    I want to be able to take strings of untrusted code provided by users and execute them in a safe sandbox.

    I have all sorts of things I want this for - think custom templates for a web application, custom workflow automation scripts (Zapier-style), running transformations against JSON data.

    When you're dealing with untrusted code you need a really robust sandbox. WebAssembly really should be that sandbox.

    I'd like to support Python, JavaScript and maybe other languages too. I want to take a user-provided string of code in one of those languages and execute that in a sandbox with a strict limit on both memory usage and time taken (so I can't be crashed by a "while True" loop). If memory or time limit are exceeded, I want to get an exception which I can catch and return an error message to the user.

    I've been exploring options for this for quite a while now. The furthest I've got was running Pyodide inside of Deno: https://til.simonwillison.net/deno/pyodide-sandbox

    Surprisingly I've not found a good pattern for running a JavaScript interpreter in a WASM sandbox yet. https://github.com/justjake/quickjs-emscripten looks promising but I've not found the right recipe to call it from server-side Python or Deno yet.

    Can Extism help with this? I'm confident I'm not the only person who's looking for a solution here!

  • Node on Web. Use Nodejs freely in your browser with Linux infrastructure.
    8 projects | /r/node | 3 Jul 2023
    "Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions" quickjs-emscripten, NPM
  • Sandboxing JavaScript Code
    2 projects | news.ycombinator.com | 19 Apr 2023
    This maybe, as a start?

    https://github.com/justjake/quickjs-emscripten

  • Hacker News top posts: Nov 20, 2022
    5 projects | /r/hackerdigest | 20 Nov 2022
    QuickJS Running in WebAssembly\ (17 comments)
  • QuickJS Running in WebAssembly
    1 project | /r/hypeurls | 19 Nov 2022

What are some alternatives?

When comparing wizer and quickjs-emscripten you can also consider the following projects:

TablaM - The practical relational programing language for data-oriented applications

wasmer - 🚀 Fast, secure, lightweight containers based on WebAssembly

wagi - Write HTTP handlers in WebAssembly with a minimal amount of work

wasmtime - A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

cheerp-meta - Cheerp - a C/C++ compiler for Web applications - compiles to WebAssembly and JavaScript

mach - zig game engine & graphics toolkit

go-wasm-bake - Experimenting with eager evaluation of Go WASM code

iPlug2 - C++ Audio Plug-in Framework for desktop, mobile and web

v8go - Execute JavaScript from Go

blueboat - All-in-one, multi-tenant serverless JavaScript runtime.

rr - Record and Replay Framework

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured