Comments (1)
The README seems tailored to rust programmers not Ruby yet the project name is wasmer-ruby.
I'm sorry but there is a tiny Rust program to showcase the compilation to WebAssembly, and then how to use it with wasmer-ruby
. It's a single blockcode for the entire README.md
. I could have written this program with C, Zig, AssemblyScript, Swift, or whatever.
Could you please abstract low-level (unimportant) details away and hide them from us Ruby programmers (perhaps in a wiki page or other file) and just give us Ruby programmer tailored instructions instead?
The README.md
contains all the Ruby API to use wasmer-ruby
. What else is missing?
I just want to run this Opal Ruby project in wasm instead
I'm not sure I'm following you. Do you want to compile Opal to WebAssembly? Or do you want to run WebAssembly modules inside Opal?
wasmer-ruby
is a WebAssembly runtime. It runs WebAssembly modules inside Ruby. It doesn't compile Ruby to WebAssembly.
Don’t you have any automated or fast track Ruby-inside-the-browser instructions? I just want to hack on some Ruby in the browser within seconds and be happy (just like I did with Opal). I don’t want to muck with rust.
If what you want is to run Ruby as a WebAssembly module (so having the Ruby VM compiled as a WebAssembly module), check https://github.com/jasoncharnes/run.rb or https://github.com/ljulliar/rlang.
If what you want is to compile Ruby code to WebAssembly (just like C or Rust compile to WebAssembly), check https://github.com/blacktm/ruby-wasm.
from wasmer-ruby.
Related Issues (20)
- Export Wasm globals ? HOT 4
- WASI / import function support ? HOT 4
- Failed to install this gem HOT 7
- gem install fails with Rust 1.46.0 HOT 3
- Install fails on Ruby 3.0.1 HOT 1
- More parity with other languages HOT 5
- Seg fault with statically linked version of Ruby HOT 4
- Migrate `rutie-derive` and `rutie-derive-macros` to `rutie HOT 1
- Cannot install on macOS with statically distributed Ruby version HOT 12
- Release version 1.0.1 HOT 1
- [More Examples] Could more examples be added? HOT 1
- Integer conversion raising en exception
- Challenges in Running JS Interpreter via wasmer-ruby HOT 4
- Update to latest wasmer 2.3 (or 3.0 when released)
- Redirecting STDOUT and STDERR HOT 9
- Feature request : new classes `Uint64View`, `Int64View`, `Float32View`, and `Float64View` HOT 1
- Support WCGI?
- `undefining the allocator of T_DATA class ...` warning on Ruby 3.2
- gem install fails with Rust 1.75.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasmer-ruby.