Bit-Stealing Made Legal: Compilation for Custom Memory Representations of Algebraic Data Types
Offered By: ACM SIGPLAN via YouTube
Course Description
Overview
Explore a 32-minute conference talk from ICFP 2023 that delves into a novel approach for specifying data layouts of rich data types in low-level programming. Learn about the dual view concept, combining high-level source types with memory types for better control over memory representation. Discover compilation algorithms for constructors, destructors, and pattern matching, along with their correctness proofs. Gain insights into the implementation of these algorithms in the ribbit tool, which compiles to LLVM IR. Examine the potential benefits of this approach for optimizing Algebraic Data Types (ADTs) in low-level programming languages, addressing limitations in current mainstream languages like Rust.
Syllabus
[ICFP'23] Bit-Stealing Made Legal: Compilation for Custom Memory Representations of Algebr...
Taught by
ACM SIGPLAN
Related Courses
Type-Driven Development: Designing with TypesPluralsight Haskell: Lecture notes and assignments
University of Pennsylvania via Independent Exploring Common Algebraic Data Types Used in Functional Programming
egghead.io The Evolution of Object-Oriented Programming - Modern Concepts and Techniques
ChariotSolutions via YouTube Busting the Func'ing Jargon
NDC Conferences via YouTube