Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions quest/m5/rs2ts-model-subset.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ reaches the model; none of these changes behavior.
- The internal `unsafe`: `model/group.rs`'s `MaybeUninit` frame ring, `NonNull` in
`track.rs` and `track/demand/ranges.rs`, `frame.rs`'s `Segment`, and kio's lock-free
`log`. Each is either rewritten in safe Rust for both builds, at measured native cost, or
left for rust2-ts's [unsafe epic](https://github.com/moq-dev/rust2/blob/main/quest/m3/ts-unsafe/README.md)
to translate as is.
left for rust2-ts to translate as is where its
[unsafe policy](https://github.com/moq-dev/rust2/blob/main/quest/m3/README.md) allows,
which refuses any `unsafe` needing a new pointer form.
- `group.rs`'s `dyn Expiry` becomes an enum of its two implementations.
- Drop `hashlink`, `slab`, and `smallvec` from the model's path where a std type does the
- Drop `hashlink` and `slab` from the model's path where a std type does the
job at measured cost, or bind them to hand-written TS through rust2-ts's config.
`smallvec` stays: rust2-ts maps it into its runtime instead
([rust2's smallvec quest](https://github.com/moq-dev/rust2/blob/main/quest/m2/ts-model/smallvec.md),
decided with the rust2 maintainer on 2026-11-07).

Decided with the rust2 maintainer on 2026-11-07, in
[rust2's model epic](https://github.com/moq-dev/rust2/blob/main/quest/m2/ts-model/README.md),
Expand Down
2 changes: 1 addition & 1 deletion quest/m5/rs2ts-wasm2js.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Split independently landable prerequisites into quests.
Decided with the maintainer on 2026-10-23: an own rustc-driver translator is
developed as a parallel research track in
[moq-dev/rust2](https://github.com/moq-dev/rust2), starting with moq-net's
codec ([its quest](https://github.com/moq-dev/rust2/blob/main/quest/m2/ts.md)).
codec ([its model epic](https://github.com/moq-dev/rust2/blob/main/quest/m2/ts-model/README.md)).
It does not replace wasm2js as the first route here. Once it translates
reachable moq-net code, compare it as the source-translator row below; moq
consumes it as a pinned flake input, never by vendoring.
Expand Down