bjorn3 commented on issue #951:
Is this still relevant?
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.
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