Add an example using [@thi.ng/malloc](https://www.npmjs.com/package/@thi.ng/malloc) for memory management.