Essentially creates an unmanaged typed array in memory that one can work with and free again respectively obtain from the AS side. No support for GC or generic arrays yet, and is likely to change substentially once WASM GC becomes a thing.
Portable compiler sources that compile to both JavaScript using tsc and, eventually, WebAssembly using asc.
tsc
asc