TurboScript
TurboScript copied to clipboard
Super charged typed JavaScript dialect for parallel programming which compiles to WebAssembly
```object = null``` is standard way to signalize for GC to forcing delete object by reference in js.
#### How? ```ts declare type number = float64; declare type Float64Array = Array< float64 >; ```
How about implement general type ```number``` for backward compatibility with Typescript? It may be just alias of ```float64```.
According to this: https://github.com/WebAssembly/design/blob/master/FAQ.md we need manually implement all sets of js enviroment. This is big job. I could help with this ****UPD**** I see some stdlib already implement with...
**What?** User wants to have `sizeof` function to get storage size of a variable or type in bytes. **How?** ```typescript let a = new Array(10); console.log(sizeof a); //48 => 4...
**What?** User wants to have ecmascript switch statement **How?** ```typescript switch (axis) { case Axis.AxisX: left = this.min.x = point; break; case Axis.AxisY: left = this.min.y = point; break; case...
It's enchantment idea for far future. How about to automatically create bridge for some js code block that can't directly translate to wasm? For example we have some part of...
**What?** User want to have method overload, exclude constructor from this scope. **How?** ```typescript class Foo { value:float32; constructor() { } add(v:float32):void { this.value = this.value + v; } add(v:int32):void...