typed-objects-es7
typed-objects-es7 copied to clipboard
ES7 typed objects spec draft
The reasoning state for shelving this proposal was noted as “Postponed: waiting for WebAssembly requirements to become clearer.” WebAssembly has come a long way and the requirements are probably much...
It would be useful for people that are not familiar with specifications to see informal examples of typed objects to get a reasonable understanding of what they and what problem...
Hello. I suggest to add bitfields support of ES7 typed objects. ``` { // form bitfield block of uint8 x: uint8_bitfield(4), y: uint8_bitfield(4) } ```
Please expose some kind of reflection (maybe via `Reflect.*` methods) for retrieving actual offsets of fields in `StructType`.
Js doesn't support for uint64/int64 leading to a lot of issues in real productive environmen
What is the approach going to be for SIMD vector types such as float32x4? Is the hope that the "sufficiently sophisticated compiler" will be able to take an array of...
We have to investigate the mechanisms by which [[Prototype]] can be mutated in the spec (`__proto__`?) and ensure that typed objects cannot be so mutated.
At some point, I think it was the intention that `typeof uint8` yielded `"function"`. It's not clear to me what `typeof new StructType(...)` was intended to yield. I think I'd...
Arrays need a redimension method that lets you redistribute their elements over any number of dimensions. As implemented in SpiderMonkey, this method lets you: 1. Convert a non-array type `T`...
I think It should be possible to write all of the following: ``` T.array() // instantiates empty array of T (T[0]) T.array(W) // instantiates an array of length W T.array([a,...