Stream: rfc-notifications

Topic: rfcs / PR #9 RFC: shared host functions.


view this post on Zulip RFC notifications bot (Feb 02 2021 at 23:48):

peterhuene edited PR #9 from engine-host-functions to main:

Rendered RFC

This RFC proposes to extend the Wasmtime API to allow users to define host
functions in a Config that can be shared between multiple engines and
therefore stores.

Today, Func is used to define host functions, but it is tied to a Store.
If users desire short-lived stores to ensure short-lived instances, host
functions need to be redefined upon every module instantiation.

By defining host functions with a Config, instances can be created
without having to redefine the host functions; this will make for faster module
instantiations in scenarios where a module is repeatedly instantiated.

view this post on Zulip RFC notifications bot (Feb 02 2021 at 23:52):

peterhuene edited PR #9 from engine-host-functions to main:

Rendered RFC

This RFC proposes to extend the Wasmtime API to allow users to define host
functions in a Config that can be shared between multiple engines and
therefore stores.

Today, Func is used to define host functions, but it is tied to a Store.
If users desire short-lived stores to ensure short-lived instances, host
functions need to be redefined upon every module instantiation.

By defining host functions with a Config, instances can be created
without having to redefine the host functions; this will make for faster module
instantiations in scenarios where a module is repeatedly instantiated.

view this post on Zulip RFC notifications bot (Feb 03 2021 at 22:15):

sunfishcode submitted PR Review.

view this post on Zulip RFC notifications bot (Feb 16 2021 at 19:14):

cfallin submitted PR Review.

view this post on Zulip RFC notifications bot (Feb 16 2021 at 21:26):

abrown submitted PR Review.

view this post on Zulip RFC notifications bot (Mar 09 2021 at 20:41):

peterhuene merged PR #9.


Last updated: Dec 23 2024 at 12:05 UTC