HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wikiwong

no profile record

Submissions

Parallelizing WebAssembly Execution on GPUs

github.com
2 points·by wikiwong·3 anni fa·0 comments

Extism makes WebAssembly easy

dylibso.com
136 points·by wikiwong·3 anni fa·98 comments

WASI Command and Reactor Modules in WebAssembly

dylibso.com
7 points·by wikiwong·3 anni fa·2 comments

comments

wikiwong
·3 anni fa·discuss
great article, thanks for sharing!
wikiwong
·3 anni fa·discuss
Firecracker is a fine technology, but serverless companies have started taking advantage Wasm's faster start-up and invocation times for use cases of running Wasm on the server (https://www.youtube.com/watch?v=yqgCxhPAao0). The deny by default security policy makes Wasm a popular choice to run code in isolation, particularly for maximizing hardware resources in the multi-tenant environments these serverless companies operate.

> Is there a good reason to do this?

One use case to run JS inside a Wasm VM is Shopify Functions. Shopify allows their customers to customize things like checkout flow by writing code compiled to Wasm which gets executed during the checkout process. They want their customers to be able to write JS as well as other languages. https://github.com/Shopify/function-runner

> I thought WASM typically used the V8 JavaScript interpreter as its sandbox and to execute code.

V8 is popular for running Wasm on the web and for some serverless companies, but there are a bunch of serverless, blockchain, and iot projects that use other Wasm runtimes (Wasmtime, WAMR, WasmEdge, and Wasmer to name a few) - https://github.com/appcypher/awesome-wasm-runtimes
wikiwong
·3 anni fa·discuss
Great talk, thanks for sharing! Would love to hear if Extism allows you to accomplish this, and if not, what prevented you. We're always down to chat on Discord, but an issue on the Ruby SDK repo will do just fine as well - https://github.com/extism/ruby-sdk/
wikiwong
·3 anni fa·discuss
A lot of people ask why one would use Extism and how exactly does it help, so I wrote a blog post to explain it detail. I hope it is informative!
wikiwong
·3 anni fa·discuss
To help spread some knowledge and make WebAssembly more approachable, me and a couple of colleagues decided to do a write up on the concept of Command vs Reactor modules. We hope this saves someone the time and energy!
wikiwong
·3 anni fa·discuss
Thanks for the feedback, we've done some internal work to verify open source, self hosted platforms like Jaeger, Zipkin, and OpenObserve. Official support is coming soon!
wikiwong
·3 anni fa·discuss
We're inspired by this project, linking for posterity: https://github.com/titzer/wizard-engine
wikiwong
·3 anni fa·discuss
Thanks Luke, we greatly appreciate your engagement and help in hardening this ecosystem!
wikiwong
·3 anni fa·discuss
The intersection of seemingly disparate technologies is awesome. Such a cool way to bring AI to Postgres
wikiwong
·3 anni fa·discuss
Did you mean to make that comment on this post? The article talks about getting deeper insights into the execution of Wasm modules
wikiwong
·3 anni fa·discuss
have you seen this project? https://extism.org
wikiwong
·3 anni fa·discuss
love seeing this trend of software systems becoming programmable with wasm. exciting times ahead!