On Sun, Apr 9, 2017 at 7:04 PM, Wink Saville <[email protected]> wrote:
>
> 2) The interface between JS and WASM would probably be very slow if every
>> accessor has to go through it. You'd probably end up wanting to translate
>> the whole capnp to a JSON object upfront, which of course defeats a lot of
>> the purpose.
>>
>
> I'm hoping shared memory
> <https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=javascript+shared+memory>
> might be used, we could have serdes in wasm and access in JS, take with
> huge grain of salt :)
>

But in Cap'n Proto, there is no serdes. All of the logic happens at access
time.

-Kenton

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to