docs: clarify Yoga is C++, Rust was the Pilates port path#143
Merged
Conversation
The "Rust + WASM port" framing was ambiguous — readers could infer Yoga is Rust, which is wrong (Yoga is C++ → WASM since ~2014). Updated all 5 mentions across the announcement doc and launch copy to: - Acknowledge Yoga itself is C++ - Clarify Rust was the modern port path *for Pilates* (better JS-migration tooling than C++ in 2026) - Frame the lesson as "pure TS vs native-compiled-to-WASM", language-agnostic The argument unchanged: algorithmic fix in TS beats a hypothetical native-compiled rewrite because Yoga's edge was algorithmic, not arithmetic-speed. The clarification just makes sure no commenter can derail the post with "but Yoga is C++". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Per author preference: the post compares pure TS against Yoga's C++ (the actual benchmark) — bringing Rust in as "the port we considered for Pilates" was a distraction that invited the "but Yoga is C++" objection while not adding value. Generalized all five mentions to "native-compiled-to-WASM" / "native code" framing. The argument unchanged: algorithmic fix in TS beats a hypothetical native-compiled rewrite because Yoga's edge was algorithmic, not arithmetic-speed. Section header in r/programming body is now "Why pure TS over C++" — direct apples-to-apples with Yoga, matches the question readers actually ask. (Ratatui mention in STRATEGY.md retained — that's naming a Rust TUI library as comparison point, not the port-path framing.) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
zhijiewong
added a commit
that referenced
this pull request
May 23, 2026
Previously the V2EX and 掘金 copy only existed in chat ephemera; committing them to the canonical launch-copy file so the campaign assets are version-controlled. Both versions use the cleaned C++/native framing (no Rust detour) consistent with PR #143's revisions: - V2EX 分享创造 post (short, casual register) - 掘金 long-form article (with section headers, code blocks, validation-infra-paid-off story, API stability call-out) - Other Chinese venues mentioned briefly: 知乎, 少数派 - Suggested ordering: 掘金 first as "authoritative long read", V2EX/知乎 link back to it Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Caught during a pre-Reddit-post review: the "Rust + WASM port" framing was ambiguous and could be read as "Yoga is Rust" (which is wrong — Yoga has been C++ → WASM since 2014).
Updated all 5 mentions across the announcement doc and the launch copy. The argument is unchanged — algorithmic fix in TS beats a hypothetical native-compiled rewrite — but the language is now unambiguous: Yoga is C++; Rust would have been the migration target for Pilates, since Rust has better JS-migration tooling than C++ in 2026.
Removes a reasonable comment-thread objection ("but Yoga is C++") before it can land.
🤖 Generated with Claude Code