Re: Remain an unused import function in wasm

2019-05-04 Thread Duan Bing
Hi, Sam: Yes, I have an implementation based on WAVM, design doc : https://github.com/duanbing/WAVM/blob/master/Gas.md . 'Sam Clegg' via emscripten-discuss 于2019年5月4日周六 下午3:14写道: > One way to achieve this might be to use binaryen tools to inject your wasm > code into the module. One of

Re: How to display text on web?

2019-05-04 Thread Shlomi Fish
Hi Jack! On Sat, 4 May 2019 02:24:08 -0700 (PDT) Jack Dale wrote: > How can I display text on webpage using emscripten, if it is possible?Can I > do it inside emscripten/c++ code I mean. Can I embed html tags inside > emscripten code and display on webpage(without black console window)? > >

How to display text on web?

2019-05-04 Thread Jack Dale
How can I display text on webpage using emscripten, if it is possible?Can I do it inside emscripten/c++ code I mean. Can I embed html tags inside emscripten code and display on webpage(without black console window)? The text must be selectable and search engines should be able to read the

Re: Remain an unused import function in wasm

2019-05-04 Thread 'Sam Clegg' via emscripten-discuss
One way to achieve this might be to use binaryen tools to inject your wasm code into the module. One of the simplest ways would be use wasm-dis to turn the module into text, when wasm-as to re-assembly it after adding your new imports and code. *From: *Duan Bing *Date: *Fri, May 3, 2019 at 8:14

Re: Error: Environment size exceeded TOTAL_ENV_SIZE!

2019-05-04 Thread 'Sam Clegg' via emscripten-discuss
From: Date: Fri, May 3, 2019 at 1:41 AM To: emscripten-discuss > On Mon, Apr 29, 2019 at 18:23:48 UTC+2 Alon Zakai wrote: > > Glad you figured this out ! Can you please open a PR with your > improvements? > > Sorry to say, but my proposals are not ready for a pull request. > I proposed two