rusty_v8
wasm32-wasi-benchmark
rusty_v8 | wasm32-wasi-benchmark | |
---|---|---|
9 | 4 | |
3,018 | 36 | |
0.9% | - | |
9.0 | 10.0 | |
2 days ago | over 2 years ago | |
Rust | C++ | |
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.
rusty_v8
-
Ask HN: What Are You Building?
I'm building Lagon, an open-source [1] runtime and platform that allows developers to run TypeScript and JavaScript serverless functions at the Edge, close to users. The runtime uses V8 Isolates and is written from scratch using Rust and rusty_v8 [2], Deno's Rust bindings for V8.
[1] https://github.com/lagonapp/lagon
[2] https://github.com/denoland/rusty_v8
-
WasmEdge
Not to denigrate your work, it's good what you're working on... but I can create JS APIs in Rust with native V8 bindings, too: https://github.com/denoland/rusty_v8/blob/main/examples/proc...
-
based on recent struggles
For more futuristic stuff, check out Typescript native Deno and rustbased v8
-
Dune: A new JavaScript and TypeScript runtime
No, that will be rusty_v8
-
Create Your Own JavaScript Runtime
V8 Rust Bindings Examples — Rusty V8 GitHub
-
Deno 1.25
Can Deno be embedded in a larger Rust application? I know I can embed v8 directly https://github.com/denoland/rusty_v8 but I wish I could use other parts of Deno.
In particular, I wish I could write a Tokio async program in Rust, and load plugins using deno, and have this work seamlessly
- We really need an ARM build.
- Deno is on MDN
-
Deno v1.10 Released
> git clone https://github.com/denoland/rusty_v8.git denoland/rusty_v8
wasm32-wasi-benchmark
-
Towards a modern Web stack (by Ian Hickson, author of the HTML5 spec and current Flutter tech lead)
On other benchmarks I'm seeing numbers closer to 20% slower, e.g. https://github.com/wasm3/wasm3/blob/main/docs/Performance.md and https://github.com/second-state/wasm32-wasi-benchmark. It's numerical code, which is the best case scenario for a native binary. It's much closer on an average web app or server workload, e.g. https://krausest.github.io/js-framework-benchmark/current.html - you can find WASM frameworks that beat most JS frameworks on there, but that is not as impressive considering the state of the JS ecosystem. Overall, it's already under 50%, and there is still plenty of room for improvement.
-
WasmEdge, a high-performance WebAssembly runtime with Rust first APIs and Features (Wasm on server side)
Source code of test cases: https://github.com/second-state/wasm32-wasi-benchmark
-
WasmEdge
We did benchmarks last year but not recently (Will update if there are new ones).
Paper: A Lightweight Design for High-performance Serverless Computing, published on IEEE Software, Jan 2021. https://arxiv.org/abs/2010.07115
Article: Performance Analysis for Arm vs. x86 CPUs in the Cloud, published on infoQ.com, Jan 2021. https://www.infoq.com/articles/arm-vs-x86-cloud-performance/
Source code of test cases: https://github.com/second-state/wasm32-wasi-benchmark
What are some alternatives?
v8-runtime-tutorial - Source code for the tutorial series
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.
ninja_gn_binaries
wasmtime - A fast and secure runtime for WebAssembly
deno - A modern runtime for JavaScript and TypeScript.
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
zx - A tool for writing better scripts
cpp_weekly - The official C++ Weekly Repository. Code samples and notes of future / past episodes will land here at various times. PR's will be accepted in some cases.
astrodon - Make Desktop apps with Deno 🦕
spin - Spin is the open source developer tool for building and running serverless applications powered by WebAssembly.
authcompanion - [Deprecated] navigate instead to version 2 of AuthCompanion
comlink - Comlink makes WebWorkers enjoyable.