Experimental implementation of Object.observe & JS Utility library now available

Rafael Weinstein rafaelw at chromium.org
Thu Aug 16 12:17:10 PDT 2012


I've created a bunch of cool demos and a video which attempts to
explain the use cases & need for Object.observe().

https://plus.google.com/u/1/111386188573471152118

On Mon, Aug 13, 2012 at 12:28 PM, Rafael Weinstein <rafaelw at chromium.org> wrote:
> Hi all,
>
> As promised, here is an experimental implementation of the
> Object.observe strawman in a branch of v8:
>
> https://github.com/rafaelw/v8
>
> [Note that there are Mac & Windows binaries of Chromium for everyone's
> convenience. The links to the binaries are contained in the README.md
> -- and also at the bottom of the page].
>
> Also, here is a JS Utility library which uses the Object.observe()
> mechanism and exposes some higher-level and more convenient
> abstractions (such as path observation & array splice computations):
>
> https://github.com/rafaelw/ChangeSummary.
>
> [Note that this library is to Object.observe as MutationSummary
> (http://code.google.com/p/mutation-summary/) is to DOM Mutation
> Observers]
>
> ----
>
> Expect (and report) bugs in both and crashes in the v8 impl, but it
> should be stable enough now for actual experimentation & prototyping.
>
> Unless someone feels otherwise, we just assume any feedback go
> directly es-discuss (to this thread is fine) so as not to split away
> from here any substantive discussion about the feature.
>
> ----
>
> Our next step is to align our tests and the ChangeSummary library with
> Tom's excellent proxy implementation so we'll have two experimental
> versions which pass the same set of tests (and we can continue to use
> Tom's proxy impl as a reference spec-in-code].
>
> Enjoy


More information about the es-discuss mailing list