There's a project called Apache Arrow and it's sort of purpose is to allow for sharing of these data structures in memory between different language runtimes. It should be possible to kind of bring all that into the browser and use it there. And then again, building on top of work already been done and not have to build it ourselves. But there's a lot of details there.