Fluent Session Programming in C#
Cite this paper
×
@misc{university2020fluent,
title = {Fluent Session Programming in C#},
author = {Shunsuke Kimura (Gifu University and Japan) and Keigo Imai (Gifu University and Japan)},
year = {2020},
eprint = {2004.01325},
archivePrefix = {arXiv},
primaryClass = {cs.PL},
url = {https://arxiv.org/abs/2004.01325}
}
University, S. K. (., Japan), University, K. I. (., & Japan) (2020). Fluent Session Programming in C# [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2004.01325
UNIVERSITY SK(, JAPAN), UNIVERSITY KI(, et al. Fluent Session Programming in C#[EB/OL]. (2020-04-03)[2026-11-30]. https://arxiv.org/abs/2004.01325.
Abstract
We propose SessionC#, a lightweight session typed library for safe concurrent/distributed programming. The key features are (1) the improved fluent interface which enables writing communication in chained method calls, by exploiting C#'s out variables, and (2) amalgamation of session delegation with async/await, which materialises session cancellation in a limited form, which we call session intervention. We show the effectiveness of our proposal via a Bitcoin miner application.
Post #1 · the paper