Max Graey

Results 346 comments of Max Graey

I think just need build some prototype and test on real samples. But sometimes even a little peephole optimization can open the way for far more cascaded changes for next...

I would prefer to add a non-standard static method "compare" for all builtin types. This has been suggested more than once in JS, but as usual it was dissolved in...

Automatic compilation to GPU or even automatic multi-threading is a very complex thing. GPU.js uses classic GPGPU tricks. But if we're talking about Compute Shaders for WebGPU for example, you...

> One could begin just doing it very modular AssemblyScript already supports [transforms](https://www.assemblyscript.org/compiler.html#transforms) which allows adding hooks between different compiler's stage. For example, get access to AST. It's already using...

I think having built-in tools for translation in WGSL from some DSL (or limited set of AS language) is consistent with our main goal of being Web-cetric. Tighter integration with...

Yeah, also prefer to update `updateFunction(funcRef: FunctionRef)` to `updateFunction(funcRef: FunctionRef, preserveDebugInfo: bool)` or simply check `this.options.debugInfo` inside `updateFunction`