canopy
canopy copied to clipboard
canopy
canopy is a light-weight C++ framework with strong emphasis on performance and joy of use. It grows from a desire to have a solid and good looking toolbox with nice and trustworthy tools in it; to support own experiments and rapid application development.
!!! WORK IN PROGRESS !!!
Currently in the process of refactoring and adding in components from older version of same framework. Feel free to poke around, but don't expect that anything works. Repository is largely a skeleton at the moment.
CODE CONVENTIONS
Like C, but with namespaces and template meta-programming.
- root namespace is
ca
- no C++ STL containers
- no
new
ordelete
- no member functions
- no constructors
- no exceptions
-
thread_t
is a type - type modifiers are written right-to-left so they are trivial to read (e.g.
thread_t const *
reads pointer to const thread) -
thread_join(thread_t *)
is a function -
{
is written on next line -
sys_thread.h
is a filename - first token in filename denotes sub-root namespace of contents (e.g.
thread_t
lives in namespaceca::sys
)
BUILDING ON WINDOWS
- git clone https://github.com/fuglsang/canopy.git
- open canopy.sln with VS2017
- hit "Build/Build Solution"
- static library is built to lib/
- headers can be found in include/ca/
AUTHOR
Lasse Jon Fuglsang Pedersen <[email protected]>
LICENSE
BSD 2-Clause (see LICENSE)