[webkit-dev] JavascriptCore API: Typed arrays

Filip Pizlo fpizlo at apple.com
Tue Feb 25 10:26:49 PST 2014


On Feb 25, 2014, at 10:23 AM, Geoffrey Garen <ggaren at apple.com> wrote:

> JSObjectGetPropertyAtIndex and JSObjectSetPropertyAtIndex give you access to the data of TypedArrays.
> 
> Did you mean that there’s no API to create a typed array?

I think the point is that there is no way to access the underlying buffer.

-Filip


> 
> Geoff
> 
> On Feb 25, 2014, at 8:49 AM, Oliver Buchtala <oliver.buchtala at googlemail.com> wrote:
> 
>> Hello,
>> 
>> looking at the current version of JavascriptCore's C API there seems to be no way to access the data of TypedArrays.
>> Is this true, or did I miss something? If not, are there plans to expose that part to C someday?
>> E.g., then one could access the underlying C arrays from within a native extension.
>> 
>> Cheers,
>> Oliver
>> 
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> https://lists.webkit.org/mailman/listinfo/webkit-dev
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev



More information about the webkit-dev mailing list