Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Ryosuke Niwa
On Fri, Jun 13, 2014 at 2:05 AM, Ryosuke Niwa wrote: > On Fri, Jun 13, 2014 at 1:53 AM, Anne van Kesteren > wrote: > >> On Fri, Jun 13, 2014 at 10:32 AM, Ryosuke Niwa wrote: >> > I understand your concern and sentiment but I'm having a hard time >> imagining >> > what kind of problems/concerns

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Ryosuke Niwa
On Fri, Jun 13, 2014 at 1:53 AM, Anne van Kesteren wrote: > On Fri, Jun 13, 2014 at 10:32 AM, Ryosuke Niwa wrote: > > I understand your concern and sentiment but I'm having a hard time > imagining > > what kind of problems/concerns would TC39 have with these interfaces that > > are clearly prefi

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Anne van Kesteren
On Fri, Jun 13, 2014 at 10:32 AM, Ryosuke Niwa wrote: > I understand your concern and sentiment but I'm having a hard time imagining > what kind of problems/concerns would TC39 have with these interfaces that > are clearly prefixed with DOM. That if they end up as objects in JavaScript engines th

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Ryosuke Niwa
On Fri, Jun 13, 2014 at 1:27 AM, Dirk Schulze wrote: > >> On Jun 13, 2014, at 10:17 AM, "Anne van Kesteren" > wrote: > >> > >> On Fri, Jun 13, 2014 at 10:12 AM, Ryosuke Niwa > wrote: > >> What I'm saying is that we can implement it in JavaScriptCore for > >> performance and we still make it loo

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Ryosuke Niwa
On Fri, Jun 13, 2014 at 1:16 AM, Anne van Kesteren wrote: > On Fri, Jun 13, 2014 at 10:12 AM, Ryosuke Niwa wrote: > > What I'm saying is that we can implement it in JavaScriptCore for > > performance and we still make it look like a regular DOM object with > > wrappers to preserve the semantics.

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Dirk Schulze
>> On Jun 13, 2014, at 10:17 AM, "Anne van Kesteren" wrote: >> >> On Fri, Jun 13, 2014 at 10:12 AM, Ryosuke Niwa wrote: >> What I'm saying is that we can implement it in JavaScriptCore for >> performance and we still make it look like a regular DOM object with >> wrappers to preserve the seman

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Anne van Kesteren
On Fri, Jun 13, 2014 at 10:12 AM, Ryosuke Niwa wrote: > What I'm saying is that we can implement it in JavaScriptCore for > performance and we still make it look like a regular DOM object with > wrappers to preserve the semantics. I understand that, but given that it is in the JavaScript engine a

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Ryosuke Niwa
On Fri, Jun 13, 2014 at 12:59 AM, Anne van Kesteren wrote: > On Fri, Jun 13, 2014 at 9:53 AM, Ryosuke Niwa wrote: > > I think Phil and Ben are suggesting to implement these types in JSC like > we > > did for typed arrays. > > If you were to do that you probably want to ping TC39 this time around

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Benjamin Poulain
On 6/13/14, 12:53 AM, Ryosuke Niwa wrote: On Thu, Jun 12, 2014 at 11:42 PM, Dirk Schulze > wrote: On Jun 13, 2014, at 8:36 AM, Filip Pizlo mailto:fpi...@apple.com>> wrote: > Why can't these data structures be implemented as JavaScript built-ins that behave "

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Anne van Kesteren
On Fri, Jun 13, 2014 at 9:53 AM, Ryosuke Niwa wrote: > I think Phil and Ben are suggesting to implement these types in JSC like we > did for typed arrays. If you were to do that you probably want to ping TC39 this time around. -- http://annevankesteren.nl/ _

Re: [webkit-dev] Implement Geometry Interfaces

2014-06-13 Thread Ryosuke Niwa
On Thu, Jun 12, 2014 at 11:42 PM, Dirk Schulze wrote: > > On Jun 13, 2014, at 8:36 AM, Filip Pizlo wrote: > > > Why can't these data structures be implemented as JavaScript built-ins > that behave "as if" they were DOM objects? > > I am not sure. What do you have in mind? How could it look like?