2019
DOI: 10.4204/eptcs.291.4
|View full text |Cite
|
Sign up to set email alerts
|

Multiparty Session Type-safe Web Development with Static Linearity

Abstract: Modern web applications can now offer desktop-like experiences from within the browser, thanks to technologies such as WebSockets, which enable low-latency duplex communication between the browser and the server. While these advances are great for the user experience, they represent a new responsibility for web developers who now need to manage and verify the correctness of more complex and potentially stateful interactions in their application.In this paper, we present a technique for developing interactive w… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
6
0

Year Published

2020
2020
2024
2024

Publication Types

Select...
3
2
1

Relationship

2
4

Authors

Journals

citations
Cited by 7 publications
(11 citation statements)
references
References 24 publications
0
6
0
Order By: Relevance
“…When the server receives a move, it notifies the game logic to update the game state asynchronously and return the game result caused by that move. The expressiveness of STScript enable the developer to define the handlers as async functions to use the game logic API correctly -this is prevalent in modern web programming, but not directly addressed in [13,20].…”
Section: Discussionmentioning
confidence: 99%
See 3 more Smart Citations
“…When the server receives a move, it notifies the game logic to update the game state asynchronously and return the game result caused by that move. The expressiveness of STScript enable the developer to define the handlers as async functions to use the game logic API correctly -this is prevalent in modern web programming, but not directly addressed in [13,20].…”
Section: Discussionmentioning
confidence: 99%
“…Whereas session type programming is well-studied [1], its application on web programming, in particular, interactive web applications, remains relatively unexplored. Integrating session types with web programming has been piloted by recent work [13,20,24], yet none are able to seamlessly implement the previous application scenario: Fowler [13] uses binary (2-party) session types; and King et al [20] require each non-server role to only communicate to the server, hence preventing interactions between non-server roles (cf. talking to a friend in the scenario).…”
Section: A B Smentioning
confidence: 99%
See 2 more Smart Citations
“…Session Types in Web Development King et al [13] targeted web development in PureScript using the Concur UI framework and proposed a type-level encoding of EFSMs as multi-parameter type classes. However, it presents a trade-off between achieving static linearity guarantees from the type-level EFSM encoding under the expressive type system and providing an intuitive development experience to developers, especially given the prevalence of JavaScript and TypeScript applications in industry.…”
Section: Related Workmentioning
confidence: 99%