Metraipolis › archive › dc_87c0dda657d2
The Invisible Throttle: Running on Borrowed Time in Scratch — arXiv:2609.36152
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.36152
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T17:58:59.877Z
- SHA-256 of the archived text
40f8a99412651840fb7adbc419584773d493196544d37fae5b2bdb7d841b81a6- Stable URL of this page
https://metraipolis.com/documento/dc_87c0dda657d2
How to cite
The Invisible Throttle: Running on Borrowed Time in Scratch — arXiv:2609.36152 — arXiv (en), https://arxiv.org/abs/2609.36152 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_87c0dda657d2 (Metraipolis archive dc_87c0dda657d2, sha256 40f8a99412651840fb7adbc419584773d493196544d37fae5b2bdb7d841b81a6)
BibTeX
@misc{dc87c0dda657d2,
title = {The Invisible Throttle: Running on Borrowed Time in Scratch — arXiv:2609.36152},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.36152},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_87c0dda657d2; sha256 40f8a99412651840fb7adbc419584773d493196544d37fae5b2bdb7d841b81a6},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.36152. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Scratch has 135 million registered users, most of them children, and 164 million shared projects. What they are taught about the speed of a script fits in one sentence: a loop iterates once per frame. Unfortunately, that sentence describes the exception. In the public virtual machine a frame repeats the scripts until something visible asks the screen to redraw, no script is left running, or three quarters of the frame's wall-clock time are spent. Hence a loop that does not draw is paced by whatever else is visible and by the machine. Hide the moving sprite of a two-sprite project, and the other's counting loop runs 77,000 times faster on a laptop. No documentation states the rule. Our key observation is that the redraw gate is one flag for the whole runtime, so a loop's speed can be changed without touching its code: hide the sprite that draws, change the machine's budget, or run the program in a tool with no renderer. ThrottleCheck implements a budgeted semantics (a stated budget of rounds per frame, the redraw gate emulated) on the unmodified virtual machine, runs a project under each knob, and reports a rate-sensitive project with a witness. On 500 popular public games, 59% contain a loop that never draws and never waits. Muting the requests of the sprites that draw changes the state of a played game after ten seconds in 24% of the games that have one; hiding them changes 18%; running the game without a renderer and without the gate changes 61%. Rules that read a position, a score or a clock after a fixed time reverse between pass and fail once the throttle is released, in 17% of Whisker's own example tests and 19% of a tutorial's checks on 224 of its remixes. A grader without a renderer grades a program the editor never runs, unless it emulates the gate and states a budget; we say what graders and the platform should do, and close with the sentence a child could be taught. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-30 in cs.SE). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.36152 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T17:31:51.992Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).