English

Fluent Session Programming in C#

Programming Languages 2020-04-06 v1

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.

Keywords

Cite

@article{arxiv.2004.01325,
  title  = {Fluent Session Programming in C#},
  author = {Shunsuke Kimura and Keigo Imai},
  journal= {arXiv preprint arXiv:2004.01325},
  year   = {2020}
}

Comments

In Proceedings PLACES 2020, arXiv:2004.01062

R2 v1 2026-06-23T14:37:34.760Z