Comments (3)
sami what do you mean by an "instruction" that will initialize the state?
also could you please explain why we would want to initialize the VM from a non-empty state? I'm not sure if i understand the question.
from ocaml-offchain.
Well in wasm modules there are stuff for initializing memory, globals, and anyfunc table. Currently the interpreter handles these segments to create the initial state. Instead of doing that, we could have empty initial state and have a program that sets the memory etc.
from ocaml-offchain.
Done in #61
from ocaml-offchain.
Related Issues (20)
- Implement emscripten memcpy HOT 1
- How to return 64 bit values? HOT 1
- System calls: simple stubs HOT 2
- Skipped syscalls
- Basic input and output
- Managing files and directories
- File permissions
- Memory mapping files
- Polling
- Truncating files
- What do these system calls do? HOT 1
- Exit system calls
- The interpreter should throw better error messages
- Implement Parallel Computations
- JIT
- Research Merkle Tree efficiency
- GPU hashing HOT 1
- Error when building Wasm on OSX HOT 3
- Make this a RPC Server HOT 1
- Add RPC Server port to Dockerfile
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 ocaml-offchain.