The reviewed record of science sign in
Pith

arxiv: 2405.06233 · v2 · pith:YHLEN4EE · submitted 2024-05-10 · cs.PL

The Fearless Journey [Draft]

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:YHLEN4EErecord.jsonopen to challenge →

classification cs.PL
keywords fearlessminimalconstructingheartlikemodelsprogrammingprograms
0
0 comments X
read the original abstract

Existing minimal Object-Oriented models (OO), like Featherweight Java (FJ), are valuable for modelling programs and designing new programming languages and tools. However, their utility in developing real-world programs is limited. We introduce the 'Fearless Heart', a novel object calculus preserving FJ's minimal and extensible nature while being more suited for constructing complex, real-world applications. To illustrate the extensibility of the Fearless Heart, we extend it with Reference Capabilities (RC), creating R-Fearless. It supports mutability and other side effects while retaining the reasoning advantages of functional programming and gaining support for features that are well-known to be enabled by RC, like automatic parallelism, caching and invariants. R-Fearless is still minimal enough to allow further extensions. It is an ideal foundation for constructing both practical systems and formal models.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.