[Webkit-unassigned] [Bug 103454] New: Typed Arrays should be part of JSC
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 27 14:07:25 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103454
Summary: Typed Arrays should be part of JSC
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dominic.szablewski at gmail.com
It is my understanding that JSC (and v8?) have Typed Array support directly built-in, but it's just not exposed.
I argue that Typed Arrays are much more part of the JavaScript language than they are of Webkit (or any browser for that matter). Many projects using JSC or v8 would greatly benefit from readily available Typed Arrays. It really should be a language feature. Typed Arrays have no external dependencies (unlike e.g. XMLHttpRequest) and could be easily exposed to JS code.
For example, there are a number of projects out there trying to emulate Typed Arrays in NodeJS. My own project Ejecta ( http://impactjs.com/ejecta ) suffers from the lack of Typed Arrays when dealing with image data. Implementing the WebGL API on top of JSC is equally awkward ( https://github.com/vikerman/EjectaGL#note-on-typed-arrays-and-performance ).
Typed Arrays should be exposed to JS and a native API for them should be provided.
--
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