Sorry, I'm not very familiar with the Fetch code myself. I'd just dive in, as you said.
On Mon, May 14, 2018 at 1:49 PM, Scott Watson <[email protected]> wrote: > Yeah, I’ll help. Any recommendations on how to get started? If not I’ll > just dive in and start getting myself familiar with the code. > > —Scott > > > On May 14, 2018, at 12:44 PM, Alon Zakai <[email protected]> wrote: > > Jukka was working on Fetch, but no longer is I think, so I believe no one > is currently working to improve it or get wasm compatibility for it. > > If you're interested to help, that would be great! :) > > On Mon, May 14, 2018 at 10:14 AM, Scott Watson <[email protected]> wrote: > >> If it is a work in progress...can I help? :) >> >> >> On Monday, May 14, 2018 at 10:11:40 AM UTC-7, Scott Watson wrote: >>> >>> Hi Alon, >>> >>> After making wasm the default I get: >>> >>> ERROR:root:FETCH not yet compatible with wasm (shared.make_fetch_worker >>> is asm.js-specific) >>> >>> when I build. >>> >>> Can you give us an update on the fetch api? Are you working on wasm >>> compatibility? If so, when might it be available? Workarounds? >>> >>> Thanks for your help! >>> >>> --Scott >>> >>> On Wednesday, May 9, 2018 at 7:51:07 PM UTC-7, Alon Zakai wrote: >>>> >>>> #6419 just landed on incoming (not in a tagged version yet), which >>>> switches the default output to wasm. >>>> >>>> Only the default is changed - we of course still support asm.js, and >>>> will for a very long time. But changing the default makes sense as the >>>> recommended output for most use cases should be WebAssembly, given it has >>>> shipped in all major browsers and platforms and is more efficient than >>>> asm.js. >>>> >>>> Build with `-s WASM=0` to disable wasm and use asm.js if you want that >>>> (or use `-s LEGACY_VM_SUPPORT=1`, which emits output that can run in older >>>> browsers, which includes a bunch of polyfills as well as disables wasm). >>>> >>>> If you're already using wasm, you can remove the `-s WASM=1` you had, >>>> but it's also ok to leave it. >>>> >>>> - Alon >>>> >>>> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "emscripten-discuss" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/emscripten-discuss/YD9-iH7jne8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
