Skip to content

Add a sandbox builder #763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

jprendes
Copy link
Contributor

@jprendes jprendes commented Aug 4, 2025

No description provided.

@jprendes jprendes added the kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. label Aug 4, 2025
@jprendes jprendes force-pushed the builder branch 4 times, most recently from 8f5d20c to b2e8dd8 Compare August 4, 2025 19:48
Signed-off-by: Jorge Prendes <[email protected]>
@syntactically
Copy link
Member

I would prefer to move to a model where host functions are known at compile time & sandbox configuration is greatly reduced, so basically instead of all this you would just have create_snapshot_from_binary(binary), sandbox::new() (where host functions get registered at compile time, so that we don't have to do string comparisons constantly), load_snapshot_into_sandbox(snapshot, scratch_mem_size)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants