Comments (3)
You're comparing running (a small Rust) Wasm binary by:
- using wazero to compile it to native amd64 assembly and running that;
- running the entire Go runtime, plus the wazero Wasm interpreter, inside another Wasm runtime.
TLDR: running a Wasm interpreter inside browser Wasm is slow.
Why do you want to do that?
from wazero.
Why do you want to do that?
This is part of SDK which is cross-compiled for use in few platforms including web. Due to limited support for the required functionality in Go, SDK uses wasm compiled from rust library and wazero runtime.
It seems like I'm complicating. Is there an alternate way that would work?
from wazero.
Sorry, essentially this is the issue with interpreter performance which is not the scope of the project.
from wazero.
Related Issues (20)
- Plans to support component model? HOT 4
- wasm debug build crashes HOT 9
- [help want] the program is hangup when read my net file system HOT 1
- [Question] Compilation cache over different versions HOT 1
- `unreachable` error and stack trace if compiled and extra memory, not otherwise HOT 4
- Clarification on concurrency semantics for invocations HOT 2
- `path_open` with an empty path should fail
- `path_symlink` doesn't work HOT 1
- flaky test: TestEngine_sortedCompiledModules
- Should not be able to open a directory with write
- Path normalization causes more accepted file paths HOT 2
- [Question] How to resolve these imports required by wasm runtime HOT 4
- Panic when calling `ExportedFunction` with WASI function name HOT 1
- flaky test: BenchmarkLibsodium/box_seal HOT 9
- Representative benchmarks of wazero for Go compiler perf measurement HOT 9
- Data race in Memory.Grow with concurrency HOT 1
- Standard `os` package test for Go 1.23rc1 is failing on Windows HOT 3
- WASI Preview 2 support HOT 4
- How to use HostFunctionBuilder with ptr functions?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wazero.