Space-Efficient Latent Contracts

被引:3
|
作者
Greenberg, Michael [1 ]
机构
[1] Pomona Coll, Claremont, CA 91711 USA
来源
关键词
D O I
10.1007/978-3-030-14805-8_1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Standard higher-order contract monitoring breaks tail recursion and leads to space leaks that can change a program's asymptotic complexity; space-efficiency restores tail recursion and bounds the amount of space used by contracts. Space-efficient contract monitoring for contracts enforcing simple type disciplines (a/k/a gradual typing) is well studied. Prior work establishes a space-efficient semantics for manifest contracts without dependency [10]; we adapt that work to a latent calculus with dependency. We guarantee space efficiency when no dependency is used; we cannot generally guarantee space efficiency when dependency is used, but instead offer a framework for making such programs space efficient on a case-by-case basis.
引用
收藏
页码:3 / 23
页数:21
相关论文
共 50 条
  • [1] Space-Efficient Manifest Contracts
    Greenberg, Michael
    [J]. ACM SIGPLAN NOTICES, 2015, 50 (01) : 181 - 194
  • [2] The Space-Efficient Core of Vadalog
    Berger, Gerald
    Gottlob, Georg
    Pieris, Andreas
    Sallinger, Emanuel
    [J]. PROCEEDINGS OF THE 38TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '19), 2019, : 270 - 284
  • [3] SPACE-EFFICIENT PARALLEL MERGING
    KATAJAINEN, J
    LEVCOPOULOS, C
    PETERSSON, O
    [J]. RAIRO-INFORMATIQUE THEORIQUE ET APPLICATIONS-THEORETICAL INFORMATICS AND APPLICATIONS, 1993, 27 (04): : 295 - 310
  • [4] Space-efficient gradual typing
    Herman D.
    Tomb A.
    Flanagan C.
    [J]. Higher-Order and Symbolic Computation, 2010, 23 (02) : 167 - 189
  • [5] Space-efficient search algorithms
    Korf, RE
    [J]. ACM COMPUTING SURVEYS, 1995, 27 (03) : 337 - 339
  • [6] SPACE-EFFICIENT PARALLEL MERGING
    KATAJAINEN, J
    LEVCOPOULOS, C
    PETERSSON, O
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 605 : 37 - 49
  • [7] Space-Efficient Graph Kernelizations
    Kammer, Frank
    Sajenko, Andrej
    [J]. THEORY AND APPLICATIONS OF MODELS OF COMPUTATION, TAMC 2024, 2024, 14637 : 260 - 271
  • [8] Space-Efficient Informational Redundancy
    Glasser, Christian
    [J]. ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2008, 5369 : 448 - 459
  • [9] Space-efficient informational redundancy
    Glasser, Christian
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2010, 76 (08) : 792 - 811
  • [10] The Space-Efficient Core of Vadalog
    Berger, Gerald
    Gottlob, Georg
    Pieris, Andreas
    Sallinger, Emanuel
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2022, 47 (01):