if it's about experimenting then `with(TypedObject) {}` would do :P

Any chance there will be a way to bypass most of the stuff for production?

Thanks


On Mon, Nov 18, 2013 at 6:58 AM, Niko Matsakis <[email protected]> wrote:

> On Sun, Nov 17, 2013 at 02:04:57PM +0100, Till Schneidereit wrote:
> > The strawman at [1] is fairly close to what's going to end up in the
> spec,
> > content-wise. Additionally, the implementation in SpiderMonkey is pretty
> > complete by now, and there are lots of tests[2].
>
> Indeed, it's approaching full functionality. For those who may want to
> experiment, keep in mind that (1) all typed object support is only
> available in Nightly builds and (2) all globals are contained behind a
> "TypedObject" meta object (e.g., to create a new struct type, you
> write:
>
>     var Point = new TypedObject.StructType({x: TypedObject.float32, ...})
>
> Here are the major features that are not yet landed and their status:
>
> 1. Reference types (Bug 898359 -- reviewed, landing very soon)
> 2. Support for unsized typed arrays (Bug 922115 -- implemented, not yet
> reviewed)
> 3. Integrate typed objects and typed arrays (Bug 898356 -- not yet
> implemented)
>
> Obviously #3 is the big one. I haven't had time to dig into it much
> yet, there are a number of minor steps along the way, but I don't see
> any fundamental difficulties. There are also various minor deviations
> between the spec, the polyfill, and the native SM implementation that
> will need to be ironed out.
>
> > I don't know what the timing for integrating Typed Objects into the
> > spec proper is, cc'ing Niko for that.
>
> Dmitry and I were planning on beginning work on the actual spec
> language soon. The goal is to advance the typed objects portion of the
> spec -- which I believe is fairly separable from the rest -- as
> quickly as possible, taking advantage of the new process.
>
>
> Niko
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to