Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 2
1 answer
122 views

I've implemented a sync barrier (note that I also modeled it in a brute force parallel simulator and it finds no invalid state for 3 threads) in assembly script. Here is the barriere code : @external(&...
Score of 1
1 answer
57 views

I currently have this code, which works: export type { Action as EntityAction, Asset as EntityAsset, Batch as EntityBatch, Batcher as EntityBatcher, Stream as EntityStream, Watcher as ...
Score of 1
1 answer
72 views

Something like this: export namespace Foo { export const MY_CONSTANT: u32 = 1; } And then using it like this: const value = Foo.MY_CONSTANT;
Score of 0
1 answer
59 views

I couldn't find any information about this in the AssemblyScript docs. Is the spread operator available in AssemblyScript? I would like to define an object like so: { ...params, category: "...
Score of 3
0 answers
229 views

When calling a wasm function, I want to avoid frequent copying of function parameters and return values, so I want to use shared memory, but the running results are different from what I expected. How ...
Score of 1
1 answer
42 views

I am writing a module where I want to maximize performance, so I would like to use the unsafe keyword to disable all run time bound checks. It also looks like this is supported, because "asc"...
Score of 1
1 answer
52 views

In AssemblyScript, I'm trying to define an instance method in a base class that will return the instance it's called on. I can do this, but the return type does not seem to be resolved correctly. ...
Score of 0
1 answer
38 views

I'm currently facing an issue installing the Modus AssemblyScript SDK, and I could use some assistance. I have a stable internet connection, but when I attempt to install the SDK with the command: ...
Score of 0
1 answer
112 views

Using AssemblyScript to compile and run untrusted code server-side, I've added some additional library extending the standard library provided by AssemblyScript. These host function bindings are ...
Score of 0
1 answer
88 views

I'm working on an AssemblyScript application. The way the code is structured requires passing an instance of a class in the constructor of another class. For example: class Something { constructor(...
Score of 1
1 answer
1088 views

I am thinking of how I can protect my browser game from bots. As if I wrote it in JavaScript/TypeScript, everything would be so visible on the surface to a bot creator via dev console, that it's ...
Score of 0
1 answer
104 views

how to fix the bug of asbuild SyntaxError: missing ) after argument list at Loader.moduleStrategy (internal/modules/esm/translators.js:149:18) npm install --save-dev assemblyscript npx asinit . Y ...
Score of 0
1 answer
98 views

I get this Error, while trying to run C and wasm code (using wasm3) on an raspberrypi using platformio: I am using a RaspberryPi 3 Model B with Raspian I program in Visual Studio Code on the Raspberry ...
Score of 1
0 answers
144 views

I'm stuck on this when learing web assembly. basically I have this index.ts file written in assembly script // The entry file of your WebAssembly module. class Animal { constructor() {} name: i32;...
Score of 0
0 answers
83 views

I tried returning the entity objects from the event handlers on the AssemblyScript Subgraph code to simplify unit testing. For example, this works fine: // Original code export function ...

15 30 50 per page
1
2 3 4 5
8