The web content explores how Linux/FFmpeg C partial codebase is organized to be extensible, focusing on the concept of “polymorphism” and good software design. It discusses the implementation of generic abstractions, like codecs, in different programming languages such as Ruby, Golang, and C. It highlights the ease of adding new formats and codecs in FFmpeg due to its abstraction architecture. The concept of “everything is a file” in Linux is also discussed, showcasing the common interface for various resources. The content emphasizes the importance of low coupling and high cohesion in software design for maintainability and extensibility.
https://leandromoreira.com/2019/08/02/linux-ffmpeg-source-internals-a-good-software-design/