Stateful Contracts for Affine Types. Tov, J. A. & Pucella, R. In Programming Languages and Systems, of Lecture Notes in Computer Science, pages 550–569, Berlin, Heidelberg, 2010. Springer. ZSCC: NoCitationData[s0]
doi  abstract   bibtex   
Affine type systems manage resources by preventing some values from being used more than once. This offers expressiveness and performance benefits, but difficulty arises in interacting with components written in a conventional language whose type system provides no way to maintain the affine type system’s aliasing invariants. We propose and implement a technique that uses behavioral contracts to mediate between code written in an affine language and code in a conventional typed language. We formalize our approach via a typed calculus with both affine-typed and conventionally-typed modules. We show how to preserve the guarantees of both type systems despite both languages being able to call into each other and exchange higher-order values.
@inproceedings{tov_stateful_2010,
	address = {Berlin, Heidelberg},
	series = {Lecture {Notes} in {Computer} {Science}},
	title = {Stateful {Contracts} for {Affine} {Types}},
	isbn = {978-3-642-11957-6},
	doi = {10.1007/978-3-642-11957-6_29},
	abstract = {Affine type systems manage resources by preventing some values from being used more than once. This offers expressiveness and performance benefits, but difficulty arises in interacting with components written in a conventional language whose type system provides no way to maintain the affine type system’s aliasing invariants. We propose and implement a technique that uses behavioral contracts to mediate between code written in an affine language and code in a conventional typed language. We formalize our approach via a typed calculus with both affine-typed and conventionally-typed modules. We show how to preserve the guarantees of both type systems despite both languages being able to call into each other and exchange higher-order values.},
	language = {en},
	booktitle = {Programming {Languages} and {Systems}},
	publisher = {Springer},
	author = {Tov, Jesse A. and Pucella, Riccardo},
	editor = {Gordon, Andrew D.},
	year = {2010},
	note = {ZSCC: NoCitationData[s0]},
	keywords = {Liveness Property, Operational Semantic, Transmission Control Protocol, Type Soundness, Type System},
	pages = {550--569}
}

Downloads: 0