Re: Support for externref

2023-03-24 Thread Thaina Yu
Thank you very much On Friday, 24 March 2023 at 23:27:13 UTC+7 s...@google.com wrote: > On Thu, Mar 23, 2023 at 6:50 PM Thaina Yu wrote: > >> I am not sure how limited it is but there are many situation that we just >> need a value to pass object from one function to another

Re: Support for externref

2023-03-23 Thread Thaina Yu
...@google.com wrote: > On Thu, Mar 23, 2023 at 10:12 AM Thaina Yu wrote: > >> I don't actually know which things unity would use to hold the value of >> externref, just guessing it would be IntPtr. But by anything it require >> that emscripten can officially define externref fi

Re: Support for externref

2023-03-23 Thread Thaina Yu
23, 2023 at 9:51 AM Thaina Yu wrote: > >> I am actually using emscripten from unity and I mainly use C# code from >> unity side. But there are tons of 3rd party library and SDK that written >> with assumption that we will only use JavaScript. It then need us to >

Re: Support for externref

2023-03-23 Thread Thaina Yu
rnref first then it could start support it in some future. So the sluggish are stacking up On Thursday, 23 March 2023 at 23:34:43 UTC+7 s...@google.com wrote: > On Thu, Mar 23, 2023 at 9:20 AM Thaina Yu wrote: > >> Thank you very much. Are there any public discussion or roadmap to

Re: Support for externref

2023-03-23 Thread Thaina Yu
Thank you very much. Are there any public discussion or roadmap to add EM_ASM_REF into emscripten? On Thursday, 23 March 2023 at 23:17:52 UTC+7 s...@google.com wrote: > On Thu, Mar 23, 2023 at 6:52 AM Thaina Yu wrote: > >> Do we have anyway to write hand-written assembly cod

Re: Support for externref

2023-03-23 Thread Thaina Yu
upstream in clang: > https://github.com/llvm/llvm-project/blob/main/clang/test/CodeGen/WebAssembly/wasm-externref.c. > > AFAIK we haven't yet experimented with it in Emscripten, but in principle > it should work. > > On Fri, Mar 17, 2023 at 10:23 AM Thaina Yu wrote:

Re: Support for externref

2023-03-17 Thread Thaina Yu
Is this mean externref already usable? https://github.com/emscripten-core/emscripten/pull/15913 On Monday, 10 October 2022 at 22:56:34 UTC+7 karl.we...@gmail.com wrote: > Does anyone have news on this topic? > > tli...@google.com schrieb am Montag, 25. Januar 2021 um 19:51:36 UTC+1: > >> I don't