Re:How Discord achieves native iOS performance with React Na...
by Aissen on Friday November 08, 2019 @01:04PM
(#21484952)
The answer is in the parent's comment. They used protobufs, so I guess there's no JNI, just a simple RPC over a local socket.
Re:How Discord achieves native iOS performance with React Na...
by bsaul on Friday November 08, 2019 @04:02PM
(#21486702)
Thanks, i completely missed that part. Very interesting solution...
Re:How Discord achieves native iOS performance with React Na...
by izacus on Friday November 08, 2019 @04:17PM
(#21486880)
We used Dropbox' Djinni for a long while and it was good for most cases, but there were performance limitations - we switched to protobuffs over byte[] arrays for complex data later.
I believe it was due to JNI but my memories may be wrong.