A theory of retractable and speculative contracts - Archive ouverte HAL Access content directly
Journal Articles Science of Computer Programming Year : 2018

A theory of retractable and speculative contracts

(1) , (2) , (3)
1
2
3
Franco Barbanera
  • Function : Author
  • PersonId : 1022460
Ugo De'Liguoro
  • Function : Author
  • PersonId : 835215

Abstract

Behavioral contracts are abstract descriptions of expected communication patterns followed by either clients or servers during their interaction. Behavioral contracts come naturally equipped with a notion of compliance: when a client and a server follow compliant contracts, their interaction is guaranteed to progress or successfully complete. We study two extensions of behavioral contracts, retractable contracts dealing with backtracking and speculative contracts dealing with speculative execution. We show that the two extensions give rise to the same notion of compliance. As a consequence, they also give rise to the same subcontract relation, which determines when one server can be replaced by another preserving compliance. Moreover, compliance and subcontract relation are both decidable in quadratic time. Finally, we study the relationship between retractable contracts and calculi for reversible computing.
Fichier principal
Vignette du fichier
SCP-Main.pdf (554.58 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01912858 , version 1 (06-11-2018)

Identifiers

Cite

Franco Barbanera, Ivan Lanese, Ugo De'Liguoro. A theory of retractable and speculative contracts. Science of Computer Programming, 2018, 167, pp.25 - 50. ⟨10.1016/j.scico.2018.06.005⟩. ⟨hal-01912858⟩
43 View
110 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More