[CM] Anyone working on S7 to web assembly?

bil at ccrma.Stanford.EDU bil at ccrma.Stanford.EDU
Wed Aug 5 13:44:55 PDT 2020


What problems did you hit?  I just glanced at the
web assembly docs and don't see anything impossible.
Unaligned accesses and SIMD stuff (by which I assume
they mean gcc/clang's vectorization) can be
turned off via compiler switches.  I do use longjmps
to unwind the C stack -- is that what they mean by
"up the unwound stack"?  They are used for error
handling, so if they're commented out, I think
s7 will still run, but the C stack will grow.
I haven't tried this, so I'm just guessing.
The other limitation that might be tricky
has to do with function type casts, but I don't
remember playing games with those in s7.



More information about the Cmdist mailing list