Skip to content

landing: present WebAssembly as a first-class target - #1

Merged
tannevaled merged 1 commit into
mainfrom
wasm-docs
Jun 26, 2026
Merged

tannevaled merged 1 commit into
mainfrom
wasm-docs

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Summary

Promotes WebAssembly from a single clause inside the scientific-stack paragraph to a first-class capability on the landing page, and reflects the current reference-implementation set.

js/wasm is a real, supported target with two flavours — both now presented:

  1. Playground — the full interpreter (front-end + VM) compiled to wasm, evaluating arbitrary Ruby in the browser (REPL + image pipeline).
  2. rbgo build --closed --target wasm — a closed-world wasm app running one baked-in program (no front-end linked), driving the DOM/Canvas via the built-in JS module.

Changes (layouts/index.html)

Verification

  • hugo builds cleanly; rendered index.html contains the new WebAssembly section, --target wasm, and TruffleRuby.
  • Theme toggle (light/dark/system, default system) and layout untouched.

🤖 Generated with Claude Code

The wasm story was a single clause inside the scientific-stack paragraph; make
it a first-class capability and cover both wasm paths plus the JS module.

- Promote the WebAssembly pill ("WebAssembly target (js/wasm) · runs in the
  browser") and add a dedicated "WebAssembly is a first-class target" paragraph
  describing both the playground (full interpreter, evaluates arbitrary Ruby)
  and `rbgo build --closed --target wasm` (closed-world wasm app driving the
  DOM/Canvas through the built-in JS module).
- Note TruffleRuby is being added as a third reference implementation alongside
  MRI and JRuby (pill + conformance/oracle prose).

Theme toggle and layout untouched; verified with `hugo` (clean build).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 00ab49e into main Jun 26, 2026
@tannevaled
tannevaled deleted the wasm-docs branch June 26, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant