Metraipolis › archive › dc_f880829ed5e8

Handling JAX — arXiv:2611.03918

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.03918
License (as archived)
CC0-1.0
Archived
2026-11-04T19:08:34.503Z
SHA-256 of the archived text
aa72c23ac6393d536288f4d038287e3d6b5e7802701cc381f0026d49f2ae188a
Stable URL of this page
https://metraipolis.com/documento/dc_f880829ed5e8

How to cite

Handling JAX — arXiv:2611.03918 — arXiv (en), https://arxiv.org/abs/2611.03918 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f880829ed5e8 (Metraipolis archive dc_f880829ed5e8, sha256 aa72c23ac6393d536288f4d038287e3d6b5e7802701cc381f0026d49f2ae188a)
BibTeX
@misc{dcf880829ed5e8,
  title = {Handling JAX — arXiv:2611.03918},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.03918},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f880829ed5e8; sha256 aa72c23ac6393d536288f4d038287e3d6b5e7802701cc381f0026d49f2ae188a},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.03918. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Languages that target hardware accelerators typically expose a restricted, first-order core without recursion or first-class functions, leaving programmers without a principled way to express computational effects. This paper presents a technique for compiling effect handlers to such a constrained target. We introduce a novel translation that statically eliminates effect handlers, and prove that it preserves both typing and semantics. Moreover, we address the challenges of integrating effect handlers with structured control flow, where continuations cannot be constructed statically. The calculus and all our results are fully mechanized in the Lean 4 proof assistant. Finally, we implement our design as a library for JAX, a Python domain-specific language for accelerator programming, and demonstrate its expressiveness through practical case studies.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.PL, nuovi lavori del giorno).
Categorie arXiv: Programming Languages (cs.PL).
Pagina del lavoro: https://arxiv.org/abs/2611.03918 — 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-11-04T18:41:52.571Z dalla pagina https://arxiv.org/list/cs.PL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).