wasm-workers-server
wasm-jseval
wasm-workers-server | wasm-jseval | |
---|---|---|
5 | 4 | |
501 | 220 | |
3.0% | - | |
8.3 | 10.0 | |
19 days ago | over 4 years ago | |
Rust | C | |
Apache License 2.0 | MIT License |
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.
wasm-workers-server
-
Node on Web. Use Nodejs freely in your browser with Linux infrastructure.
"Wasm Workers Server (wws) is an open source tool to develop and run serverless applications server on top of WebAssembly. The applications are composed by multiple modules called workers. Each of these tiny modules is in charge of replying to a specific HTTP endpoint in your application." Wasm Workers Server, "JavaScript Workers based on JavaScript work out of the box with Wasm Workers Server. The server integrates a JavaScript interpreter compiled into a WebAssembly module. Currently, the interpreter we support is quickjs and we are working on adding new ones." JavaScript
- [AskJS] Has anybody implemented and compiled ServiceWorker specification to a standalone executable?
- WASM Workers Server 1.0: adding support for Python and Ruby
- Run your first worker in WebAssembly in 1 minute
-
Show HN: OSS WebAssembly Workers Server Compatible with Cloudflare
Hey, dev here!
Here you have the GitHub and Documentation links:
- https://github.com/vmware-labs/wasm-workers-server/
- https://workers.wasmlabs.dev/
wasm-jseval
-
Using a string that shows a path to an object property to update the said property
That's not dangerous when you know what you are doing. new Function() works, too. There are Workers and WASM to execute code as well wasm-jseval.
-
Node on Web. Use Nodejs freely in your browser with Linux infrastructure.
"A safe eval library based on WebAssembly and Duktape/QuickJS." wasm-jseval
- A safe eval library based on WebAssembly and Duktape/QuickJS
-
Duktape is an embeddable JavaScript engine
Tangentially related:
I maintain a library for using QuickJS, a JS interpreter with more modern language support, from NodeJS or the web called QuickJS-Emscripten: https://github.com/justjake/quickjs-emscripten
This was inspired by seeing Duktape WASM build on HN (https://github.com/maple3142/duktape-eval) and Figma's blogposts about using building a Javascript plugin runtime:
- How Figma built the Figma plugin system: Describes the LowLevelJavascriptVm interface (https://www.figma.com/blog/how-we-built-the-figma-plugin-sys...)
- An update on plugin security: Figma switches to QuickJS (https://www.figma.com/blog/an-update-on-plugin-security/)
What are some alternatives?
nodebox-runtime - Nodebox is a runtime for executing Node.js modules in the browser.
wasmedge-quickjs - A high-performance, secure, extensible, and OCI-complaint JavaScript runtime for WasmEdge.
cwab - A simple, fast, and efficient background job processor for Rust
now - Node on Web
quickjs-emscripten - Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions
webcontainer-core - Dev environments. In your web app.
native-messaging-deno - Deno Native Messaging Host
SSVM - WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
workerd - The JavaScript / Wasm runtime that powers Cloudflare Workers