bytecodealliance / bytecodealliance/endive

Instance Fast Instantiation

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
296
Forks
21
Avg merge
2d 12h
Merged PRs (30d)
29

Description

In Wasmtime they pioneered Fast Instantiation of instances, and those are the patterns:

https://docs.wasmtime.dev/examples-fast-instantiation.html

- the Pooling Allocator: @chirino did some work in this area: https://github.com/roastedroot/proxy-wasm-java-host/blob/fdae031d94278a8e0a14dcdac7c90851a3c16f88/proxy-wasm-java-host/src/main/java/io/roastedroot/proxywasm/internal/Pool.java#L6
- COW Memory: we got reported some success in going down this path and seems like a great thing to have: https://github.com/HubSpot/boomslang/blob/fdc37eec559bafbfcd20ca10fa49344cbae5a4ce/core/src/main/java/com/hubspot/boomslang/CopyOnWriteMemory.java

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.