From 0bf29ba4cfafb2aa906ad6ec0161d1c98328c354 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Sun, 15 Nov 2026 19:32:51 +0100 Subject: [PATCH 1/2] landingkit v0.38.0: the GitHub mark in the fork ribbon hero row from [[params.cta]]; tagline's repeat of the strip hidden; landingkit v0.38.0, go 1.27.4; workflow landingkit-check.yml Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/landingkit-check.yml | 35 ++++++++++++++++++++++++++ go.mod | 2 +- go.sum | 4 +-- hugo.toml | 10 ++++++++ layouts/index.html | 8 +++--- 5 files changed, 51 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/landingkit-check.yml diff --git a/.github/workflows/landingkit-check.yml b/.github/workflows/landingkit-check.yml new file mode 100644 index 0000000..3744cf4 --- /dev/null +++ b/.github/workflows/landingkit-check.yml @@ -0,0 +1,35 @@ +name: landingkit-check + +# The landing kit's own rules (a hand-written hero row, a playground link that is +# not btn-try, a fact said twice beside the mantra strip, a fork ribbon with no +# Digital Commons band), read from the BUILT site. + +on: + pull_request: + branches: [main] + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + +jobs: + check: + name: the page follows the kit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: actions/setup-go@v7 + with: + go-version-file: go.mod + cache: false + - uses: peaceiris/actions-hugo@v3 + with: + hugo-version: "0.169.0" + extended: true + - run: hugo --minify --destination ./public + - name: Check + env: + GOWORK: "off" + run: go run github.com/go-fleettools/landingkit/cmd/landingkit check public diff --git a/go.mod b/go.mod index c0091a1..ab41c2a 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/go-embedded-ruby/go-embedded-ruby.github.io go 1.27.4 -require github.com/go-fleettools/landingkit v0.22.0 +require github.com/go-fleettools/landingkit v0.38.0 diff --git a/go.sum b/go.sum index 161fde5..79620c1 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/go-fleettools/landingkit v0.22.0 h1:e5mGBhudZsulY7Yol+Qntw0j8rZOwLVTlszkbMeKAU0= -github.com/go-fleettools/landingkit v0.22.0/go.mod h1:jSXTO7FVKNXCK1aJjLq7H7x8d8wxDoXe3ncXWGcAKRE= +github.com/go-fleettools/landingkit v0.38.0 h1:BDvmosEhQALNIcXlYiWda/Kl1gAZNvST3YYaEs2agNA= +github.com/go-fleettools/landingkit v0.38.0/go.mod h1:jSXTO7FVKNXCK1aJjLq7H7x8d8wxDoXe3ncXWGcAKRE= diff --git a/hugo.toml b/hugo.toml index 07b31b6..c56c768 100644 --- a/hugo.toml +++ b/hugo.toml @@ -72,3 +72,13 @@ disableKinds = ["taxonomy", "term", "RSS", "sitemap", "404"] name = "Phase 8 — Conformance & performance" status = "active" blurb = "Since July the work has been **runtime** conformance, measured against [ruby/spec](https://github.com/ruby/spec)'s `language/` + `core/` suites: **23,672 examples pass** — the total that `BASELINE` sums to on `main` (re-recorded 2026-11-03 at Ruby 4.0.9, on the pinned runner that enforces it; 2,202 of 2,206 spec files produce a result, the other 4 recorded as FILEFAIL). One file, `core/random/bytes_spec.rb`, draws 8 or 9 passing examples from run to run; on 2026-11-04 its row was pinned to **8**, its floor, rather than to the 9 that re-recording happened to observe — a baseline recorded at a high draw turns the next ordinary run red, gated in CI by a **per-file baseline** — one record per spec file, so a file that regresses is named rather than absorbed. It replaced a single shrink-only floor, which needed a margin wider than the largest spec file and was therefore blind to any regression smaller than that: the floor had climbed from 6,000 when the ratchet first landed on 2026-08-03 to 22,475, while sitting 211 below the measured total. **Only `language/` and `core/` are swept** — ruby/spec's `library/`, `optional/` and `security/` trees are not run at all, so this is not a percentage of Ruby. Two of the recent jumps were fixes to the **measurement** rather than the interpreter — the mspec shim, and a parser upgrade that made 13 previously-unparseable spec files visible — and those are gains in what the measurement can *see*, not in what the VM can *do*. Earlier, a conformance campaign brought the pure-Go **front-end** to ~**100% of all valid Ruby** parsed across Rails + Puppet (99.96% of files; 2 misses are syntax-error fixtures MRI rejects) and **parse + compile** of **Rails 99.82% / Puppet 100%**, with **0 over-permissive** — and RuboCop 99.7%, Sinatra/Jekyll/Thor/Kramdown/dry-struct 100%, RSpec DSL 10/10. On the runtime side, that road is now underway: **the real `puppet apply` CLI runs end-to-end** on a pure-Go CGO=0 `rbgo` — `require \"puppet\"` boots Puppet 8.11.0 (all pure-Ruby gem deps on the path), and the genuine `Puppet::Util::CommandLine` → `Puppet::Application::Apply` path (real `OptionParser`, all types + providers, settings catalog applied to disk, then the user catalog via the transaction/RAL) converges `notify`, `file` and `exec` resources (the `exec` provider runs commands via pure-Go process execution with `onlyif`/`unless`/`creates`/`path` guards), emits real Puppet output (`Notice: hi from rbgo cli`) and exits 0 with the YAML run report round-tripped. Broader resource **providers** are the active next milestone (`user`/`group` provider-ready; `package`/`service` need a host package manager/systemd + root). rbgo is also increasingly composed from the standalone pure-Go **go-ruby-* family** — **178 modules across 176 orgs are now bound into rbgo as native modules** (parser, regexp, erb, marshal, yaml, format, optparse, strscan, json, date, … a selection is on the landing page), each its own 100%-coverage 6-arch org. (`Set` is not among them: it is implemented in-tree, over rbgo's own Hash.) Of the six 64-bit arches, amd64 and arm64 are tested on every pull request, as is 32-bit 386 (since v0.8.2; 32-bit arm runs nightly under qemu), and since v0.8.3 every pull request also compiles rbgo for every GOOS/GOARCH Go supports, plan9 included since v0.8.5 (vetted, not run: there is no Plan 9 kernel in CI); riscv64, loong64, ppc64le and s390x are validated on a **nightly schedule** — under qemu, and natively on the GCC Compile Farm plus an IBM LinuxONE s390x host — not on the pull-request path. On performance, a 6-runtime suite (rbgo/rbgo+AOT vs MRI/YJIT/JRuby/TruffleRuby): **rbgo+AOT beats MRI+YJIT on integer-bound kernels — measured here at 8.7× on the tight-loop benchmark and 2.0× on recursive `fib(35)`** (darwin/arm64, whole-process wall time); plus inline method caches, small-integer interning (a small-int loop drops from ~245k allocations to 1) and capture-tracked frame recycling (~14% faster on fib)." + +# The hero's buttons, rendered by landingkit's cta.html in the kit's order. +[[params.cta]] + kind = "docs" + href = "https://github.com/go-embedded-ruby/ruby" + label = "Get started →" +[[params.cta]] + kind = "link" + href = "/performance/" + label = "See the benchmarks" diff --git a/layouts/index.html b/layouts/index.html index ba0c1e3..410378f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -19,11 +19,9 @@

A Ruby you can embed,
written in Go.

-

go-embedded-ruby (rbgo) is a from-scratch Ruby — lexer, parser, compiler, bytecode VM and an AOT backend — that embeds in any Go program and cross-compiles to a single CGO-free binary. Built in the open as a digital common (commun numérique), free to use, study, modify and share under the BSD-3-Clause licence.

- +

go-embedded-ruby (rbgo) is a from-scratch Ruby — lexer, parser, compiler, bytecode VM and an AOT backend — that embeds in any Go program and cross-compiles to a single {{ if not (partial "mantra-on.html" $) }}CGO-free{{ end }} binary. Built in the open as a digital common (commun numérique), free to use, study, modify and share under the {{ if not (partial "mantra-on.html" $) }}BSD-3-Clause{{ end }} licence.

+ {{/* [[params.cta]] in hugo.toml: the kit renders the row */}} + {{ partial "cta.html" . }}
23,672 ruby/spec language/+core/ examples passing~100% of real Ruby parsed6 64-bit + 2 32-bit arches
From 95e5f24ea8cf786c1a1251cbfebe715bc9abd2d5 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Sun, 15 Nov 2026 22:27:39 +0100 Subject: [PATCH 2/2] footer: do not repeat what the mantra strip already says landingkit check refuses a footer that says BSD-3-Clause / Pure Go / CGO_ENABLED=0 beside the strip that says it: wrapped in the kit's mantra-on.html guard, so it returns if the strip is turned off. Co-Authored-By: Claude Sonnet 5.5 --- layouts/_default/list.html | 2 +- layouts/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 516e26d..1524d65 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -104,6 +104,6 @@

Runtime — the real puppet apply CLI

← Back to overview
-
🌐 A digital common (commun numérique) · © the go-embedded-ruby authors · BSD-3-ClausePure Go · CGO=0 · MRI-compatible
+
🌐 A digital common (commun numérique) · © the go-embedded-ruby authors{{ if not (partial "mantra-on.html" .) }} · BSD-3-Clause{{ end }}{{ if not (partial "mantra-on.html" .) }}Pure Go · CGO=0 · {{ end }}MRI-compatible
diff --git a/layouts/index.html b/layouts/index.html index 410378f..ce505f6 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -107,6 +107,6 @@

Ruby that ships like Go.

-
🌐 A digital common (commun numérique) · © the go-embedded-ruby authors · BSD-3-ClausePure Go · CGO=0 · MRI-compatible
+