Skip to content

Avoid unnecessary memory copies #671

Open
0 of 1 issue completed
Open

Description

@jsturtevant

Currently, we make many redundant memory copies when transferring data in and out of the guest. While we're using flatbuffers for serialization, we're not leveraging its full benefits. APIs such as call_guest_func should accept parameters by reference instead of by value, since the data needs to be serialized anyway.

Created from #433

Activity

  1. added
    lifecycle/confirmedBug is verified or proposal seems reasonable
    and removed on Jun 27, 2025
  2. added this to the Upcoming milestone on Jun 30, 2025
  3. modified the milestones: Upcoming, v0.9.0 on Jul 29, 2025
  4. modified the milestones: v0.9.0, v0.10.0, Tracking on Aug 27, 2025
  5. modified the milestones: Tracking, 1.0 on Jun 18, 2026
  6. ludfjig commented on Jun 18, 2026

    @ludfjig
    Contributor

    I'm adding this to 1.0 milestone, because if we want to optimize the guest-host, it probably involves breaking the guest-host ABI (for example if switching to serde instead of flatbuffer), and would be a huge breaking change for existing snapshots, so couldn't be done after 1.0 (until 2.0)

  7. ludfjig commented on Jul 1, 2026

    @ludfjig
    Contributor

    this issue also involves investigating serde instead of flatbuffer

  8. assigned and unassigned on Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions