[CM] Anyone working on S7 to web assembly?

Christos Vagias chris.actondev at gmail.com
Wed Aug 5 18:39:20 PDT 2020


@Iain Sounds like a plan! Let's continue discussing this in private.

@Bil would you consider adding this patch
https://gist.github.com/actonDev/41067d7028051b7795b7f05c2d0f033b#gistcomment-3406235
to S7?
(or throwing an error like "process creation not supported in EMSCRIPTEN
environment")

With that the "ERROR_ON_UNDEFINED_SYMBOLS=0" is not even needed, so S7
seems to be wasm compatible.

And to think that some months ago I was checking
https://github.com/google/schism when I was pondering on a truly cross
platform scheme
(windows, linux, mac, mobile, web)

We have to actually test it to see that everything works as expected, but
it looks really good :)

On Thu, 6 Aug 2020 at 02:31, Iain Duncan <iainduncanlists at gmail.com> wrote:

> Aha, I see you are compiling it differently than what ever example I
> followed, and thus have posix working. I'm pretty sure it was popen that
> wouldn't work when I tried it now that I look at your example.
>
> sweeeeet....  Christos, maybe we can hack up a clojurescript page that
> runs an s7 interpreter in a fake terminal, that would be a nice little
> demo! I will definitely spend some time on this to see if I make some of my
> Max patches run with the webaudio API.
>
> iain
>
>
>
> On Wed, Aug 5, 2020 at 5:27 PM Iain Duncan <iainduncanlists at gmail.com>
> wrote:
>
>> Awesome, thanks Christos! I must have just mucked it up somehow, being a
>> pretty rusty C programmer, haha. Thanks for giving it a whirl, can't wait
>> to try it out!
>>
>> iain
>>
>> On Wed, Aug 5, 2020 at 4:43 PM Christos Vagias <chris.actondev at gmail.com>
>> wrote:
>>
>>> Good news. It works out of the box actually :)
>>>
>>> https://gist.github.com/actonDev/41067d7028051b7795b7f05c2d0f033b
>>>
>>> On Wed, 5 Aug 2020 at 23:34, Iain Duncan <iainduncanlists at gmail.com>
>>> wrote:
>>>
>>>> Cool, I'll let you know when I get a chance again. Might be able to
>>>> later this week or on the weekend. :-)
>>>>
>>>> iain
>>>>
>>>> On Wed, Aug 5, 2020 at 2:26 PM <bil at ccrma.stanford.edu> wrote:
>>>>
>>>>> That would be great.  To turn off unaligned accesses,
>>>>> set S7_ALIGNED to 1; to turn off vectorization, set
>>>>> WITH_VECTORIZE to 0.
>>>>>
>>>>> _______________________________________________
>>>> Cmdist mailing list
>>>> Cmdist at ccrma.stanford.edu
>>>> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20200806/9c3e3d6d/attachment-0001.html>


More information about the Cmdist mailing list