A polynomial time λ-calculus with multithreading and side effects - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Proceedings of the 14th International ACM SIGPLAN Conference on Principles and Practice of Declarative Programming Année : 2012

A polynomial time λ-calculus with multithreading and side effects

Résumé

The framework of Light Logics has been extensively studied to control the complexity of higher-order functional programs. We propose an extension of this framework to multithreaded programs with side effects, focusing on the case of polynomial time. After introducing a modal λ-calculus with parallel composition and regions, we prove that a realistic call-by-value evaluation strategy can be computed in polynomial time for a class of well-formed programs. The result relies on the simulation of call-by-value by a polynomial shallow-first strategy which preserves the evaluation order of side effects. Then, we provide a polynomial type system that guarantees that well-typed programs do not go wrong. Finally, we illustrate the expressivity of the type system by giving a programming example of concurrent iteration producing side effects over an inductive data structure.
Fichier principal
Vignette du fichier
ppdp19-madet.pdf (232.95 Ko) Télécharger le fichier
Origine : Fichiers éditeurs autorisés sur une archive ouverte
Loading...

Dates et versions

hal-00735544 , version 1 (26-09-2012)

Identifiants

Citer

Antoine Madet. A polynomial time λ-calculus with multithreading and side effects. 14th International Symposium on Principles and Practice of Declarative Programming, Sep 2012, Leuven, Belgium. pp.55-66, ⟨10.1145/2370776.2370785⟩. ⟨hal-00735544⟩
85 Consultations
241 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More