Lune

PLDI2025Top-tier venue

Fast Direct Manipulation Programming with Patch-Reconciliation Correspondence

Parker Ziegler, Justin Lubin, Sarah E. Chasins

Abstract

Direct manipulation programming gives users a way to write programs without directly writing code, by using the familiar GUI-style interactions they know from direct manipulation interfaces. To date, direct manipulation programming systems have relied on two core components: (1) a patch component, which modifies the program based on a GUI interaction, and (2) a forward evaluator, which executes the modified program to produce an updated program output. This architecture has worked for developing short-running programs-i.e., programs that reliably execute in <1 second-generating outputs such as SVG and HTML documents. However, direct manipulation programming has not yet been applied to long-running programs (e.g., data visualization, mapping), perhaps because executing such programs in response to every GUI interaction would mean crossing outside of interactive speeds. We propose extending direct manipulation programming to long-running programs by pairing a standard patch component (patch) with a corresponding reconciliation component (recon). recon directly updates the program output in response to a GUI interaction, obviating the need for forward evaluation.

We introduce corresponding patch and recon procedures for the domain of geospatial data visualization and prove them sound-that is, we show that the output produced by recon is identical to the output produced by forward-evaluating a patch-modified program. recon can operate both incrementally and in parallel with patch. Our implementation of our patch-recon instantiation achieves a 2.92× median reduction in interface latency compared to forward evaluation on a suite of real-world geospatial visualization tasks. Looking forward, our results suggest that patch-reconciliation correspondence offers a promising pathway for extending direct manipulation programming to domains involving large-scale computation.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Direct Manipulation and Natural Language Programming, Together at Last? cites Bidirectional Object-Oriented Programming: Towards Programmatic and Direct Manipulation of Objects
  • Programming By Scaffolded Demonstration with Perpend cites Filling typed holes with live GUIs
  • Programming By Scaffolded Demonstration with Perpend cites Weaving Schematics and Code: Interactive Visual Editing for Hardware Description Languages
  • Towards Bidirectional Live Programming for Incomplete Programs cites Filling typed holes with live GUIs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Programming By Scaffolded Demonstration with PerpendAngela Bi, Eric Rawn, Justin Lubin, Sarah E. ChasinsCHI 2026 · 2 citations
  2. Direct Manipulation and Natural Language Programming, Together at Last?Parker Ziegler, David Minh-Duy Cao, Justin Lubin, Sarah E. ChasinsOOPSLA 2026

Builds on8

  1. No Grammar to Rule Them All: A Survey of JSON-style DSLs for VisualizationAndrew M. McNuttIEEE VIS 2022 · 37 citations
  2. Filling typed holes with live GUIsCyrus Omar, David Moon, Andrew Blinn, Ian Voysey et al.PLDI 2021 · 35 citations
  3. Weaving Schematics and Code: Interactive Visual Editing for Hardware Description LanguagesRichard Lin, Rohit Ramesh, Nikhil Jain, Josephine Koe et al.UIST 2021 · 15 citations
  4. Bidirectional Object-Oriented Programming: Towards Programmatic and Direct Manipulation of ObjectsXing Zhang, Guanchen Guo, Xiao He, Zhenjiang HuOOPSLA 2023 · 9 citations
  5. Towards Bidirectional Live Programming for Incomplete ProgramsXing Zhang, Zhenjiang HuICSE 2022 · 8 citations

Related papers

  1. DirectGPT: A Direct Manipulation Interface to Interact with Large Language ModelsDamien Masson, Sylvain Malacria, Géry Casiez, Daniel VogelCHI 2024 · 104 citations
  2. Drawing Transforms: A Unifying Interaction Primitive to Procedurally Manipulate Graphics across Style, Space, and TimeSonia Hashim, Tobias Höllerer, Jennifer JacobsCHI 2023 · 11 citations
  3. Fusing Direct Manipulations into Functional ProgramsXing Zhang, Ruifeng Xie, Guanchen Guo, Xiao He et al.POPL 2024 · 5 citations
  4. Sculpin: Direct-Manipulation Transformation of JSONJoshua Horowitz, Devamardeep Hayatpur, Haijun Xia, Jeffrey HeerUIST 2025 · 1 citation
  5. Mosaic Selections: Managing and Optimizing User Selections for Scalable Data Visualization SystemsJeffrey Heer, Dominik Moritz, Ron PechukIEEE VIS 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines