Plan to Throw One Away - Pitfalls of API Design for Low-level Libraries and Kernel Interfaces

Plan to Throw One Away - Pitfalls of API Design for Low-level Libraries and Kernel Interfaces

Linux Foundation via YouTube Direct link

GPIO character device & libgpiod

2 of 8

2 of 8

GPIO character device & libgpiod

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Plan to Throw One Away - Pitfalls of API Design for Low-level Libraries and Kernel Interfaces

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 GPIO character device & libgpiod
  3. 3 Types of compatibility
  4. 4 Add reserved space to your exposed structures
  5. 5 Make all data structures exposed in library headers opaque
  6. 6 Lesson #3 Make sure your exposed structures work on 32 and 64-bit architectures
  7. 7 Some surprising details can break the ABI
  8. 8 Don't try to keep the user-space data model same as the one in the kernel

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.