AI RESEARCH

Executing as You Generate: Hiding Execution Latency in LLM Code Generation

arXiv CS.AI

ArXi:2604.00491v1 Announce Type: cross Current LLM-based coding agents follow a serial execution paradigm: the model first generates the complete code, then invokes an interpreter to execute it. This sequential workflow leaves the executor idle during generation and the generator idle during execution, resulting in unnecessary end-to-end latency. We observe that, unlike human developers, LLMs produce code tokens sequentially without revision, making it possible to execute code as it is being generated.