Indexed text attachment
coherent-specialization-on-graalvm.tex
Source for Coherent Specialization on GraalVM
View paper · Download original file
Lines 683–782 of 803. Source text is displayed literally.
683fermions in a finite set of sites and a fixed number sector. Full684continuum field simulation, spin, and electromagnetic radiation require685different state spaces and operators. The size of a fixed-number sector686grows binomially with the number of sites, which limits dense compilation.687 688The code measures the size of residual syntax and checks specified689observations. A JIT compilation trace records the actual compilation690event. Source and residual node counts do not estimate machine instruction691counts or execution time. Correctness of the machine-code generation,692the guest interoperability implementations, and their exception handling693is an obligation of the underlying JVM and GraalVM implementations.694 695\paragraph{Artifact and disclosure.}696The accompanying source archive contains the implementations, guest697scripts, build descriptor, test suite, simulation data, figure generator,698and LaTeX sources.699The manuscript and software were produced with AI assistance, including700drafting, code generation, and verification. The responsible submitter uses an anonymous public byline.701 702\begin{thebibliography}{12}703 704\bibitem{graalpe}705GraalVM.706\emph{Partial Evaluation in Truffle}.707\href{https://www.graalvm.org/latest/graalvm-as-a-platform/language-implementation-framework/PartialEvaluation/}{GraalVM documentation}.708 709\bibitem{graalinterop}710GraalVM.711\emph{InteropLibrary}.712\href{https://www.graalvm.org/truffle/javadoc/com/oracle/truffle/api/interop/InteropLibrary.html}{Truffle API documentation}.713 714\bibitem{graalroot}715GraalVM.716\emph{RootNode}.717\href{https://www.graalvm.org/truffle/javadoc/com/oracle/truffle/api/nodes/RootNode.html}{Truffle API documentation}.718 719\bibitem{graalprofile}720GraalVM.721\emph{CountingConditionProfile}.722\href{https://www.graalvm.org/truffle/javadoc/com/oracle/truffle/api/profiles/CountingConditionProfile.html}{Truffle API documentation}.723 724\bibitem{wuerthinger}725T.~W\"urthinger, C.~Wimmer, C.~Humer, A.~W\"o\ss, L.~Stadler,726C.~Seaton, G.~Duboscq, D.~Simon, and M.~Grimmer.727Practical partial evaluation for high-performance dynamic language runtimes.728\emph{PLDI}, pp.~662--676, 2017.729\href{https://doi.org/10.1145/3062341.3062381}{DOI}.730 731\bibitem{futamura}732Y.~Futamura.733Partial evaluation of computation process---An approach to a compiler-compiler.734\emph{Computer Software} 21(5), pp.~343--351, 2004.735\href{https://doi.org/10.11309/jssst.21.343}{DOI}.736 737\bibitem{jgs}738N.~D. Jones, C.~K. Gomard, and P.~Sestoft.739\emph{Partial Evaluation and Automatic Program Generation}.740Prentice Hall, 1993.741\href{https://raspi.itu.dk/people/sestoft/pebook/pebook.html}{Author's edition}.742 743\bibitem{daviespfenning}744R.~Davies and F.~Pfenning.745A modal analysis of staged computation.746\emph{J. ACM} 48(3), pp.~555--604, 2001.747\href{https://www.cs.cmu.edu/~fp/papers/jacm00.pdf}{Author's copy}.748 749\bibitem{lurie}750J.~Lurie.751\emph{Higher Topos Theory}, Annals of Mathematics Studies 170,752Princeton University Press, 2009.753\href{https://arxiv.org/abs/math/0608040}{Author's preprint}.754 755\bibitem{dwyerkan}756W.~G. Dwyer and D.~M. Kan.757Calculating simplicial localizations.758\emph{J. Pure Appl. Algebra} 18(1), pp.~17--35, 1980.759\href{https://doi.org/10.1016/0022-4049(80)90113-9}{DOI}.760 761\bibitem{jls24}762Oracle.763\emph{The Java Language Specification, Java SE 24 Edition},764\href{https://docs.oracle.com/javase/specs/jls/se24/html/jls-4.html}{Sections 4.2.2--4.2.4}.765 766\bibitem{hcsfutamura}767Third Projection Collective.768Futamura projections as coherence: A higher-categorical semantics of specialization and untrusted distribution.769\emph{Higher Categorical Semantics}, proposal, 2026.770\href{https://higher-categorical-semantics.pages.dev/research/futamura-projections-as-coherence-a-higher-categorical-semantics-of-specialization-and-unt-cd6bc55d}{Journal record}.771 772\bibitem{hcsegraphs}773Anonymous.774Higher e-graphs for Futamura projections: Coherence obstructions, descent, and verified deployment.775\emph{Higher Categorical Semantics}, 2026.776\href{https://higher-categorical-semantics.pages.dev/research/higher-e-graphs-for-futamura-projections-coherence-obstructions-descent-and-verified-deplo-98c79ab4}{Journal record}.777 778\bibitem{hcscaprice}779Anonymous author.780Caprice: Higher-categorical semantics of capture-aware partial evaluation and JIT matching.781\emph{Higher Categorical Semantics}, 2026.782\href{https://higher-categorical-semantics.pages.dev/research/caprice-higher-categorical-semantics-of-capture-aware-partial-evaluation-and-jit-matching-1b0789bf}{Journal record}.