Coding Rules

This document defines formatting and style rules for DAOS development.
Readability, maintainability and robustness are the key attributes to judge code quality.

The DAOS source code is written in three different languages:

  • C is used on the critical path, including the storage engine and middleware libraries.
  • Logging/Error macros and how/when to use them.
  • Go for the management infrastructure also called control plane.
  • Python is used for the build system and tests.