Hacker News new | past | comments | ask | show | jobs | submit login

Take that API scraping script example. Imagine next you want to build a platform where you run code written by your users who want to e.g. scrape APIs. Think ParseHub I guess? Zapier is another good example.

You'd let them write in Rust or some other language that can target WASM, then you'd run the WASM blobs in a controlled sandboxed execution environment in your platform.




So basically: what every single platform with plugins should be doing to protect their users. Or similar via some other language that allows sandboxing, e.g. Lua.


Yeah, but the plugins can be written in Rust!

OK, OK, it’s a bad example. WASM is language agnostic though, so as more languages can target WASM, then the possible advantage is programming language agnosticism. If I have some code, I don’t have to re-write it in Lua.


Yes, that's right. It's just another option that lets you do that in a different (better?) way, and doesn't force all your users to write Lua.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: