Giter Club home page Giter Club logo

Comments (1)

Hywan avatar Hywan commented on May 24, 2024 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.