Stream: git-wasmtime

Topic: wasmtime / issue #951 Can `RelocationTarget` be entirely ...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 13 2021 at 08:40):

bjorn3 commented on issue #951:

Is this still relevant?

view this post on Zulip Wasmtime GitHub notifications bot (Sep 13 2021 at 14:08):

alexcrichton commented on issue #951:

Yes I think enough has changed this is much less relevant. While not finished I think the major ideas behind this have been achieved.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 13 2021 at 14:08):

alexcrichton closed issue #951:

One of the neat use cases with caching is that we can mmap the cache from disk into memory and then simply start running code. Unfortunately though RelocationTarget means that we also may have to actually modify the code we map in, which in turn can cause a lot of it to get paged in unnecessarily quickly.

This issue is intended to track if we can get rid of RelocationTarget entirely, or if it's even desirable. The downsides to this would be that everything currently requiring a relocation would go through some form of indirection instead. The upside however is that we can possibly do zero work when loading code from a cache, making cached instantiation even faster than it is today.


Last updated: Dec 23 2024 at 12:05 UTC