Comments (1)
Hey thanks for writing this up. I'm not super familiar with this particular API, but looked into it a bit. It doesn't seem too crazy to implement in terms of defining the data types and WASI function interface, then forwarding them to the platform. I did find this issue that is basically a proposal to integrate these functions into WASI so adding them is obviously something people want. WebAssembly/WASI#161
The main problem I see is that the compiler needs to know that the WASI host environment exposes these functions to attempt to import them. Maybe it's enough to define a .h of function prototypes that are custom WASI function extensions within the bytebox project and people can copy the header into their project, calling them if the program is being compiled for the wasm target. That means building the program for wasm won't work without source code modifications, though maybe that's ok since it's a different target anyway.
from bytebox.
Related Issues (14)
- Upgrade to latest testsuite HOT 1
- run executable should be able to invoke function with args HOT 1
- Implement WASI
- Reorder run args to match wasmtime HOT 1
- WASI: add rights support
- WASI: implement the rest of preview1 functions
- WASI: thread safety
- Write a zig program to call wast2json
- Optimization: transform stack-based bytecode to a custom register-based bytecode
- C interface
- Add CI for windows, macos, and linux
- Implement SIMD instructions
- Break decode out of ModuleDefinition.init()
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 bytebox.