Replies: 1 comment 1 reply
-
Hi there! There's a number of optimizations coming in Grain v0.6 (November-ish time frame) that reduce module size dramatically. I've been playing around with the Wasm4 game engine and it has a similar module size requirement. Grain does do tree shaking and dead code elimination, but the upcoming optimizations allow them to work far more effectively. Hope that's helpful! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi im trying to experiment a bit with grain and wasm, and i found out that you can run wasm3 on micro controllers but the binary payload must be <= 64kb and so i thought to strip some of the unnecessary modules from the grain stdlib and try compiling again. but it didnt work, does grain use tree shaking & dead code elimination on compilation ? and is there anyway i can achieve what im trying to do ?
Beta Was this translation helpful? Give feedback.
All reactions