Stream: general

Topic: C/C++ Pooling allocator


view this post on Zulip Friday More (Dec 20 2024 at 18:36):

Quick question, are the configs for Pooling Allocations not exposed in the C or C++ APIs? https://docs.wasmtime.dev/api/wasmtime/struct.PoolingAllocationConfig.html
Do I need to use the Rust API for this? Thanks

view this post on Zulip Notification Bot (Dec 20 2024 at 18:38):

A message was moved here from #general > CoW for High Initialization Cost Modules by Alex Crichton.

view this post on Zulip Alex Crichton (Dec 20 2024 at 18:39):

(moved this to a new thread)

That's right yeah the pooling allocator isn't exposed in the C/C++ API right now, so you'll have to use Rust

view this post on Zulip Alex Crichton (Dec 20 2024 at 18:39):

(although exposing the pooling allocator in the C API would also be totally reasonable and a welcome contribution)

view this post on Zulip Friday More (Dec 20 2024 at 18:49):

Got it, thanks Alex


Last updated: Dec 23 2024 at 13:07 UTC