[webkit-dev] JavascriptCore API: Typed arrays

2014-02-25 Thread Oliver Buchtala
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

Re: [webkit-dev] JavascriptCore API: Typed arrays

2014-02-25 Thread Geoffrey Garen
JSObjectGetPropertyAtIndex and JSObjectSetPropertyAtIndex give you access to the data of TypedArrays. Did you mean that there’s no API to create a typed array? Geoff On Feb 25, 2014, at 8:49 AM, Oliver Buchtala oliver.bucht...@googlemail.com wrote: Hello, looking at the current version

Re: [webkit-dev] JavascriptCore API: Typed arrays

2014-02-25 Thread Filip Pizlo
On Feb 25, 2014, at 10:23 AM, Geoffrey Garen gga...@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

Re: [webkit-dev] JavascriptCore API: Typed arrays

2014-02-25 Thread Alexey Proskuryakov
(re-sending from correct address) 25 февр. 2014 г., в 8:49, Oliver Buchtala oliver.bucht...@googlemail.com написал(а): 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

Re: [webkit-dev] Seeking help/guidance with ParserError::StackOverflow porting JavaScriptCore to Android

2014-02-25 Thread Mark Lam
One more time from the right email address: Eric, As a rule of thumb, you’ll want the following: errorModeRequiredStack requiredStack total Stack size. There are some minimum amount of stack space that some reasonable native (C/C++) code can use without needing to do a stack check. Let’s