[Webkit-unassigned] [Bug 103454] Typed Arrays should be part of JSC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 10 07:42:29 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103454





--- Comment #5 from Oliver Hunt <oliver at apple.com>  2012-12-10 07:44:54 PST ---
(In reply to comment #4)
> Thanks for clarifying, Oliver! I had a hard time understanding how all the sources for typed arrays fit together.
> 
> 
> This is probably not the place to announce this, but I guess someone may find it useful: I've now made a version of JSC that directly includes Typed Arrays. It can be found here:
> 
> https://github.com/phoboslab/JavaScriptCore-iOS/tree/typed-arrays
> 
> This uses the compiled .idl files of the WebCore project as a basis; which is probably pretty stupid to begin with, but it seems to work just fine.

Yeah, I tried this originally but found it upsetting (esp. given the idl would have to stay in webcore for changes, etc yet still be correct in JSC)

> 
> I've also added some API methods to work with Typed Arrays directly in native code:
> 
> https://github.com/phoboslab/JavaScriptCore-iOS/blob/typed-arrays/JavaScriptCore/API/JSTypedArray.h

I saw your announcement on twitter.  I'm somewhat surprised at the performance gains you got without the JIT.

--Oliver

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list