> A more general question could be : would Apple allow applications developers
> to use the fantastic power of LLVM tools and libraries in a "safe" way ? That
> would be an interesting line of work…
That’s not a question for the webkit-dev list.
Geoff
Hi again,
I must say that this "Using JavaScriptCore in an audio context" idea came
because directly using a Domain Special Language ==> LLVM IR ==> LLVM JIT ==>
native code chain cannot be used on iOS, since iOS forbids executing of
dynamically generated native code (we already do that on
> On Sep 22, 2015, at 11:20 AM, Stéphane Letz wrote:
>
>
>> Doesn't matter what shape the code is. Parsing and compiling code requires
>> memory allocation. JSC will parse and compile the code lazily, so we will
>> continue to allocate memory after the code has already started
> Can you file a bug with exact repro steps? I played with these and did not
> hear glitches. Maybe I used a different version of WebKit or different
> hardware than you. Filing a bug with specifics can help make these things
> clear.
What version of WebKit/Safari are you using ?
>
>
>>
>
> It's true that in steady state, asm.js code probably won't allocate memory.
> But I order to execute the code the engine will parse things, compile things,
> and generate code - all of which requires memory allocation and may acquire
> locks held by lower priority threads. So, using
> On Sep 22, 2015, at 11:45 AM, Stéphane Letz wrote:
>
>> Can you file a bug with exact repro steps? I played with these and did not
>> hear glitches. Maybe I used a different version of WebKit or different
>> hardware than you. Filing a bug with specifics can help make
Le 22 sept. 2015 à 17:47, Darin Adler a écrit :
>> On Sep 22, 2015, at 8:32 AM, Stéphane Letz wrote:
>>
>> since the asm.js code does not allocate memory
>
> Unlike C and C++, JavaScript doesn’t directly expose a concept of “allocating
> memory” so I’m not
> On Sep 22, 2015, at 8:32 AM, Stéphane Letz wrote:
>
> Hi,
>
> We have the following project of using JavaScriptCore framework on iOS in an
> audio context :
>
> - we generate optimized asm.js code from a Domain Specific Language (actually
> an asm.js module for the audio
On Sep 22, 2015, at 9:15 AM, Stéphane Letz wrote:
>>
>> It's true that in steady state, asm.js code probably won't allocate memory.
>> But I order to execute the code the engine will parse things, compile
>> things, and generate code - all of which requires memory allocation
Hi,
We have the following project of using JavaScriptCore framework on iOS in an
audio context :
- we generate optimized asm.js code from a Domain Specific Language (actually
an asm.js module for the audio code itself + some additional standard JS
functions)
- the asm.js module contains a
> On Sep 22, 2015, at 8:32 AM, Stéphane Letz wrote:
>
> since the asm.js code does not allocate memory
Unlike C and C++, JavaScript doesn’t directly expose a concept of “allocating
memory” so I’m not sure what it means to say that. Any JavaScript code,
including “asm.js code”
11 matches
Mail list logo