Re: asm.js

Marcus, Ehsan, thank you about the tips. Yes, the major complexity is
around heap access. I followed some discussions around array passing in
emscripten-discuss and got a way around:
https://gist.github.com/automata/5832104 I believe it is not the most
efficient way.

It can be easily ported to ScriptProcessorNode as well.

Best wishes.


2013/6/19 Ehsan Akhgari <ehsan.akhgari@gmail.com>

> http://groups.google.com/group/emscripten-discuss is probably a better
> venue for this question.
>
> Cheers,
>
> --
> Ehsan
> <http://ehsanakhgari.org/>
>
>
> On Wed, Jun 19, 2013 at 9:31 AM, Marcus Geelnard <mage@opera.com> wrote:
>
>> **
>> Hello Vilson,
>>
>> Very interesting topic.
>>
>> I think that you'll find that one of the major obstacles with asm.js is
>> that you can't easily pass in/out [typed] arrays of data to/from an asm.js
>> module. That makes it really hard to use it in a ScriptProcessorNode, for
>> instance.
>>
>> At least that's my (very limited) experience from asm.js. Perhaps someone
>> with more knowledge (moz people?) can fill in here...
>>
>> Regards,
>>
>>   Marcus
>>
>>
>>
>> Den 2013-06- 14:53:00 skrev Vilson Vieira <vilson@void.cc>:
>>
>> Hi guys,
>>
>> is there any recommendations about using asm.js with Web Audio API? Any
>> DSP routine can help.
>>
>> Some tests I am currently doing are at
>> https://gist.github.com/automata/5734209
>>
>> Thank you.
>>
>> --
>> Vilson Vieira
>>
>> vilson@void.cc
>>
>> ((( http://automata.cc )))
>>
>> ((( http://musa.cc )))
>>
>> ((( http://labmacambira.sourceforge.net )))
>>
>>
>>
>>
>> --
>> Marcus Geelnard
>> Technical Lead, Mobile Infrastructure
>> Opera Software
>>
>
>


-- 
Vilson Vieira

vilson@void.cc

((( http://automata.cc )))

((( http://musa.cc )))

((( http://labmacambira.sourceforge.net )))

Received on Friday, 21 June 2013 15:49:56 UTC