Skip to content

(RFC) An additional minify tier that reconstructs CPU functionality on demand using tseynit #3236

Open

Description

@iwoplaza

Note

This is a draft RFC

Activity

  1. pullfrog commented on Oct 21, 2026

    @pullfrog
    Contributor

    ( ◦°^°◦) 🏴‍☠️ Arr, I searched fer duplicate RFCs, found nary a one, and spied that this here draft still be missin' its cargo.

    Duplicates: none found. The closest related work is #2431 ("Minify shaders in production"), which covers renaming and whitespace minification, but not reconstructing CPU functionality on demand via tseynit.

    Missing context: the body only contains the "This is a draft RFC" note, so the proposal cannot be evaluated yet. To make it understandable, it would help to add:

    • the motivation and concrete use case (why CPU functionality needs to be reconstructed rather than kept from the original build);
    • what "on demand" means in practice (which call sites, e.g. tgpu.resolve, kernels, or plugin output);
    • how the tseynit round-trip would work and its tradeoffs (bundle size, startup cost, correctness);
    • whether this extends, replaces, or conflicts with feat: Minify shaders in production #2431.

    Pullfrog  | Implement a fix ➔ | View workflow run | via Pullfrog | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions