ruby.wasm icon indicating copy to clipboard operation
ruby.wasm copied to clipboard

Is it possible to convert ruby to WebAssembly and run it in a react application?

Open Kutomore opened this issue 2 years ago • 0 comments

In a current project, we have a situation where we want to centralize where some calculations are being done, so everything is being calculated on the backend.

The tradeoff is that whenever the front end needs the results of said calculations it needs to make a request and wait for the response. Given it's only a second or two at most, we figured if we could export the calculating function as web assembly, we could import it as a function for JS.

Is this a supported use case?

Kutomore avatar Mar 10 '23 17:03 Kutomore