Thread and Memory-Safe Programming with CLASS

Luís Caires · 2025

Read Thread and Memory-Safe Programming with CLASS by Luís Caires (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-20848.txt.

Description

Luís Caires presents CLASS, a proof-of-concept programming language with strong safety guarantees, in work from 2025. CLASS is a general purpose linear language for concurrent programs. Its linear type system, rooted in linear logic and a propositions-as-types view, is meant to ensure that checked programs never misuse or leak resources, never deadlock and always terminate.

Rather than dwell on theory, the paper teaches by example in a tutorial style. Session-based programs illustrate the style, with harder cases that include thread- and memory-safe mutable data types, lazy streams and linear digital assets of the kind used in smart contracts. Correctness comes from type-checking alone in this design.

Catalog record

CREATORLuís Caires
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE30 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2505-20848

Browse the full library · About the Tower of Babel