assemblyscript icon indicating copy to clipboard operation
assemblyscript copied to clipboard

A TypeScript-like language for WebAssembly.

Results 234 assemblyscript issues
Sort by recently updated
recently updated
newest added

As part of the unification of `StaticArray`'s static and instance methods in #2404, now accounting for both `Array` and `StaticArray` results via a type parameter in instance methods, code like...

enhancement

If you could make it a compile-time option to disable the unchecked() keyword from having any effect, it'd be great. This way, you'll still need to USE unchecked(), which the...

enhancement

⯈ ⯈ ⯈ - [X] I've read the contributing guidelines - [X] I've added my name and email to the NOTICE file This is my first stab at making a...

Let's take the following example: ```javascript export class I32Bounds { public left: i32; public top: i32; public width: i32; public height: i32; constructor() {} } export function createI32Bounds(bounds: i32[]): I32Bounds...

enhancement

Given the strong type requirements of AS it would be ideal to be able to parse a JSON string directly into a given class. A decorator could be used to...

enhancement
standard library

It would be nice if AssemblyScript adds support for passing any JavaScript object/class to WASM using variants. This is similar to how node-addon-api supports passing any JavaScript object as [Napi::Object](https://github.com/nodejs/node-addon-api/blob/master/doc/object.md#example)....

enhancement

How would I go about creating threads in AssemblyScript? I am having trouble understanding the documentation.

enhancement
question

Another experiment, this time to make the runtime memory and thread-safe. So far this should be memory-safe in that multiple modules can share the memory allocator and garbage collector, but...

Experimental branch investigating https://github.com/AssemblyScript/assemblyscript/issues/887 that doesn't work because we can't have `(data ...)` and `(elem ...)` offsets in the form `someConstantGlobal + someConstantValue`. See also [this comment](https://github.com/AssemblyScript/assemblyscript/issues/887#issuecomment-539930249). Pinned here for...

### Feature suggestion Not sure if this is possible... My workflow involves taking sources from different languages, transpiling these to WAT (via compilation to WASM) and looking at the generated...

enhancement