[v8-users] Re: [blink-dev] Re: Intent to Ship: Add fractionalSecondDigits option to Intl.DateTimeFormat

2020-03-23 Thread Frank Tang
ping On Wed, Mar 18, 2020 at 3:05 PM Mounir Lamouri wrote: > non-owner LGTM based on the above. 2 out of the 3 ICU bugs were pointed by > Mozilla in their bug tracker as a reason to not launch yet. > > -- Mounir > > On Wed, 18 Mar 2020 at 14:59, Frank Tang wrote: > >> It start from a user

Re: [v8-users] Fast printing from WebAssembly in embedded V8

2020-03-23 Thread Immanuel Haffner
Thanks a lot Jakob. I will move the HandleScope out of the loop first. I think moving to Wee8 is the best solution, since I only need WebAssembly support. (I tried Wee8 some months ago, but failed. I will give it another try.) I will experiment with your suggestion of producing the string in

Re: [v8-users] Fast printing from WebAssembly in embedded V8

2020-03-23 Thread Jakob Kummerow
No, there is no way to write to stdout directly, and that's intentional. WebAssembly code can only use imported functions to communicate with the environment. The lowest-hanging fruit here is to move the HandleScope out of the loop. HandleScope creation/destruction is somewhat expensive, and you

[v8-users] Fast printing from WebAssembly in embedded V8

2020-03-23 Thread Immanuel Haffner
Hi all, I am compiling WebAssembly modules that perform computations and produce results. These results (tuples of values of various types) I would like to print to stdout. My current approach is importing a callback function to the WebAssembly module instance that performs the printing: