Is it possible to convert ruby to WebAssembly and run it in a react application?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
Research direction
Start by reviewing the ruby.wasm documentation and examples for WebAssembly exports and JavaScript integration. Check whether a React application and client-side execution are covered, then compare the requested calculation use case with the documented capabilities. Done means a supported path or a clearly scoped gap is identified.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Ruby
- Stars
- 875
- Forks
- 68
- Avg merge
- 9d 5h
- Merged PRs (30d)
- 1
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ruby/ruby.wasm
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
solana-foundation/pay-kit#341 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Cask still fails to install: `depends_on macos: :catalina` is now disabled (regression after #58)Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100