Live data from Hacker News

Perspective: Streaming pivot visualization via WebAssembly

github.com

1–10 of 141 posts

Re: Perspective: Streaming pivot visualization via WebAssembly

#6
post #2

I wrote the C++ part of this codebase, would be happy to answer any questions about it here.

Thanks for taking questions. For a back end developer that's watching the front end landscape change from afar..

Do you feel like web assembly could potentially replace JS in the future with, say, my favorite back end language of choice?

Re: Perspective: Streaming pivot visualization via WebAssembly

#8
post #2

I wrote the C++ part of this codebase, would be happy to answer any questions about it here.

I see it's possible to embed it in jupyterlab, it seems to do a lot:

* grid format * graph format * actual pivoting of data

Is that right?

It's using webassembly so in effect to do the pivot you must have created functions that exist in pandas?

Has anyone ported pandas to webassembly?

Is the grid editable? What are you using to create your output, html or canvas or something?

I realise I could look this stuff up but since you asked..

Re: Perspective: Streaming pivot visualization via WebAssembly

#9

For those interested, keep in mind the only way to use WebAssembly with CSP in Chrome is by turning on 'unsafe-eval'. FF/Edge/Safari all at least support compilation from URLs with more locked down policies

True - worth pointing out that this library gracefully falls back to ASM.js if your browser does not support WebAssembly, though.
Post reply on HN