Skip to content

Source Code

Alex Dixon edited this page Jan 6, 2019 · 17 revisions

pmtech is split into 2 static libraries, there is a clang format for consistent style, the overall philosophy for the code is to be clean and simple.

Header files keep nice clean minimal procedural interfaces and cpp files hide the implementations, for this reason hopefully looking in the header files should be enough for code documentation.

Coding Philosophy

  • Minimalistic coding style.
  • Data oriented.
  • Shallow call stacks.
  • Minimise dependencies in headers with forward declarations.
  • Hide implementation in cpp files, move as much as possible inside single compilation unit.
  • Prefer pure functions.

Navigating the source

pen library contains platform specific code and abstractions for the following:

put contains platform agnostic code using the abstractions provided by pen, it contains the following modules:

Clone this wiki locally