Comments (1)
It seems like Extism is settling around some type of kernel
with a consistent pattern for accessing memory locations for data passing. For the "getting code in" part, the underlying pdk could have a method that takes in a pointer to the memory where the code is, and have the rust wrapper call that method to load the code into memory for quickjs during the wizer step?
I know the newer versions of javy after this fork was started have the ability to externalize the provider quickjs as a separate module and I think they do memory passing to it currently to give it the bytecode, and not through wasi, but I could be misremembering that, it's been a while since I looked at it.
from js-pdk.
Related Issues (20)
- Support Host Functions HOT 4
- JS PDK Improvements HOT 2
- Windows Support HOT 2
- JS-PDK polyfill System
- Move test files out of root, create build system for them
- Design 1.0 API and release v1.0.0-rc1 HOT 2
- Wasm exception when calling http host fn
- Error: module[extism:host/env] not instantiated HOT 2
- Add support for `Date()` HOT 2
- ESM Support
- Regression bug when exception is thrown HOT 1
- Export mapping relies on the order of declarations HOT 1
- Conform to W3C spec for console.log, error, etc HOT 1
- consider making resulting modules `reactor` modules HOT 2
- Publish compiler as npm package HOT 2
- Install error on macOS
- Move away from quickjs-wasm-rs to an alternative HOT 3
- ArrayBufferLike not descriptive enough
- Async host functions in ForegroundPlugin HOT 1
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 js-pdk.