• Home
  • Search
  • A Reusable Machine-Calculus for Automated Resource Analyses
  • https://doi.org/10.48550/arxiv.2310.14719Copy DOI Icon

A Reusable Machine-Calculus for Automated Resource Analyses

Show More
  • Abstract
  • Literature Map
  • Similar Papers
Abstract

An automated resource analysis technique is introduced, targeting a Call-By-Push-Value abstract machine, with memory prediction as a practical goal. The machine has a polymorphic and linear type system enhanced with a first-order logical fragment, which encodes both low-level operational semantics of resource manipulations and high-level synthesis of algorithmic complexity. Resource analysis must involve a diversity of static analysis, for escape, aliasing, algorithmic invariants, and more. Knowing this, we implement the Automated Amortized Resource Analysis framework (AARA) from scratch in our generic system. In this setting, access to resources is a state-passing effect which produces a compile-time approximation of runtime resource usage. We implemented type inference constraint generation for our calculus, accompanied with an elaboration of bounds for iterators on algebraic datatypes, for minimal ML-style programming languages with Call-by-Value and Call-By-Push-Value semantics. The closed-formed bounds are derived as multivariate polynomials over the integers. This now serves as a base for the development of an experimental toolkit for automated memory analysis of functional languages.

Similar Papers
  • Conference Article
  • Citations8

Structural semantics for polymorphic data types (preliminary report)

  • Jan 01, 1983
  • Daniel Leivant
  • Research Article
  • Citations9

Consistent Subtyping for All

  • Nov 21, 2019
  • ACM Transactions on Programming Languages and Systems
  • Ningning Xie +3
  • PDF
  • Book Chapter
  • Citations19

Consistent Subtyping for All

  • Jan 01, 2018
  • Ningning Xie +2
  • Research Article
  • Citations5

A polymorphic modal type system for lisp-like multi-staged languages

  • Jan 11, 2006
  • ACM SIGPLAN Notices
  • Ik-Soon Kim +2
  • Conference Article
  • Citations63

A polymorphic modal type system for lisp-like multi-staged languages

  • Jan 11, 2006
  • Ik-Soon Kim +2
  • Book Chapter
  • Citations17

Polymorphic type inference with overloading and subtyping

  • Jan 01, 1993
  • Geoffrey S Smith
  • Book Chapter
  • Citations3

Typed object-oriented functional programming with late binding

  • Jan 01, 1996
  • Zhenyu Qian +1
  • Conference Article
  • Citations55

Skil: an imperative language with algorithmic skeletons for efficient distributed programming

  • Jan 01, 1996
  • G.H Botorog +1
  • Book Chapter
  • Citations34

A polymorphic type system with subtypes for Prolog

  • Jan 01, 1988
  • Roland Dietrich +1
  • Research Article
  • Citations4

A typed functional extension of logic programming

  • Apr 01, 1992
  • New Generation Computing
  • D W Shin +3
  • Research Article
  • Citations1176

A Syntactic Approach to Type Soundness

  • Nov 01, 1994
  • Information and Computation
  • A.K Wright +1
  • Research Article
  • Citations11

Database research at IPSI

  • Mar 01, 1992
  • ACM SIGMOD Record
  • Erich Neuhold +1
  • Research Article
  • Citations18

Type extension through polymorphism

  • Jan 03, 1990
  • ACM Transactions on Programming Languages and Systems
  • F Warren Burton
  • Conference Article
  • Citations56

Towards a higher-order synchronous data-flow language

  • Sep 27, 2004
  • Jean-Louis Colaço +3
  • Conference Article
  • Citations31

Enhancing Show-and-Tell with a polymorphic type system and higher-order functions

  • Oct 04, 1990
  • M.A Najork +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.