feat: replace wasm-bindgen gluecode with language agnostic wrapper #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we have a wasm wrapper that only works with wasm files specifically generated by wasm-pack with wasm-bindgen. It would be very cool to have a wrapper that works with more generic wasm modules.
For this we also need to implement a new memory management strategy which is outlined here:
One downside of the new approach is that we cant really cache anything with it. Currently we dont reexecute nodes when their inputs dont change:
Link to Code
Hmm, actually this branch already works pretty well 😂 There are no memory leaks and the performance is comparable to
mainmainfeat/remove-wasm-bindgen