Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Bit-Stealing Made Legal: Compilation for Custom Memory Representations of Algebraic Data Types

ACM SIGPLAN via YouTube

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

Reviews

Start your review of Bit-Stealing Made Legal: Compilation for Custom Memory Representations of Algebraic Data Types

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.