Seamless, correct, and generic programming over serialised data

Research output: Working paperWorking Paper/Preprint

7 Downloads (Pure)

Abstract

In typed functional languages, one can typically only manipulate data in a type-safe manner if it first has been deserialised into an in-memory tree represented as a graph of nodes-as-structs and subterms-as-pointers. We demonstrate how we can use QTT as implemented in \idris{} to define a small universe of serialised datatypes, and provide generic programs allowing users to process values stored contiguously in buffers. Our approach allows implementors to prove the full functional correctness by construction of the IO functions processing the data stored in the buffer.
Original languageEnglish
Place of PublicationIthaca, NY
Pages1-41
Number of pages41
DOIs
Publication statusPublished - 20 Oct 2023

Keywords

  • serialised data
  • programming languages

Fingerprint

Dive into the research topics of 'Seamless, correct, and generic programming over serialised data'. Together they form a unique fingerprint.

Cite this