Hacker News new | ask | show | jobs
by dinobones 663 days ago
I too share the dream of transpiling everything/WebAssembly/everything can run everywhere, but we're pretty far.

For a lot of ML/AI workloads and tasks, Python is just a binding for underlying C/C++.

It's already a nightmare to try to reproduce any ML/AI paper, pip breaks 3 times, incompatible peer deps, some obscure library emits an obscure CLANG error that means I need to brew install some libwhatever, etc...

I don't think the WebAssembly toolchain is quite ready for plug and play "pip install" time yet. I hope it eventually will be though.

1 comments

The performance of browser wasm is also incomparable to the same code compiled into a native binary.
What kind of slowdown would you expect on equivalent hardware?