2021
DOI: 10.1145/3434283
|View full text |Cite
|
Sign up to set email alerts
|

Diamonds are not forever: liveness in reactive programming with guarded recursion

Abstract: When designing languages for functional reactive programming (FRP) the main challenge is to provide the user with a simple, flexible interface for writing programs on a high level of abstraction while ensuring that all programs can be implemented efficiently in a low-level language. To meet this challenge, a new family of modal FRP languages has been proposed, in which variants of Nakano's guarded fixed point operator are used for writing recursive programs guaranteeing properties such as causality and product… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

1
29
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
3
2
2

Relationship

3
4

Authors

Journals

citations
Cited by 14 publications
(30 citation statements)
references
References 44 publications
1
29
0
Order By: Relevance
“…In this paper, we present Rattus, a practical modal FRP language that takes its ideas from the modal FRP calculi of Krishnaswami (2013) and Bahr et al (2019Bahr et al ( , 2021 but with a simpler and less restrictive type system that makes it attractive to use in practice. Like the Simply RaTT calculus of Bahr et al, we use a Fitch-style type system (Clouston, 2018), which extends typing contexts with tokens to avoid the syntactic overhead of the dual-context-style type system of Krishnaswami (2013).…”
Section: Contributionsmentioning
confidence: 99%
“…In this paper, we present Rattus, a practical modal FRP language that takes its ideas from the modal FRP calculi of Krishnaswami (2013) and Bahr et al (2019Bahr et al ( , 2021 but with a simpler and less restrictive type system that makes it attractive to use in practice. Like the Simply RaTT calculus of Bahr et al, we use a Fitch-style type system (Clouston, 2018), which extends typing contexts with tokens to avoid the syntactic overhead of the dual-context-style type system of Krishnaswami (2013).…”
Section: Contributionsmentioning
confidence: 99%
“…This elaboration also provides a model in the standard semantics of guarded recursion and avoids the need for more complex clock categories. Finally, we note that non-dependent variants of (single-clock) CloTT have proven useful for modelling reactive programming [5,6]; these calculi can also be encoded in Guarded FitchTT.…”
Section: Tick Constantsmentioning
confidence: 99%
“…Other Fitch-style type theories, which were crafted for more specialized applications, have a weaker relationship with FitchTT. For example, RaTT [5,6] can be encoded in FitchTT, but this encoding would fail to capture many restrictions placed on modalities in order to ensure domainspecific theorems about RaTT (e.g. freedom from space leaks).…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…The addition of the global view or point at infinity has the benefit that it enables us to give a model that distinguishes between least and greatest fixed points [15] (i.e., inductive and coinductive types), unlike in models of guarded recursion where guarded types are bilimit-compact [6]. This will let us use the idea that temporal liveness and safety properties can be encoded in types using inductive and coinductive types [10,2].…”
Section: Related and Future Workmentioning
confidence: 99%

Adjoint Reactive GUI

Graulund,
Szamozvancev,
Krishnaswami
2020
Preprint
Self Cite