Playback speed
×
Share post
Share post at current time
0:00
/
0:00

Paid episode

The full episode is only available to paid subscribers of Digital Grove

Codebase Walkthrough: Math

A tour through the base layer's math types and operations, prepared to make writing C math code much easier.

In this video, I cover the portion of the base layer prepared for math operations. C doesn’t have language features like operator and function overloading. These features are often used for math libraries in other languages, and the C naming convention is left as an afterthought. The Digital Grove codebase contains a fairly succinct, memorable, and expressive naming scheme, so that while the code does need to be more verbose without operator overloading, it can still be relatively straightforward to write, succinct, and easier to read.

The naming convention is described by the following grammar rules (the .. operator is used for concatenation):

The full video is for paid subscribers

Digital Grove
Digital Grove
Authors
Ryan Fleury