summaryrefslogtreecommitdiff
path: root/README
blob: 11383ade7850d422f1792e6ccfcfe2b0b01c6a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
kit

A collection of cross-platform utility libraries.

Features
- Testing
  - Unit-tests
  - Microbenchmarks
- Algorithms and data types
  - Lower bound
  - Move back
  - Dynamic array
  - Big integer math
  - SHA-256
  - A* graph search
- System
  - Time
  - Atomics
  - Condition variables
  - Mutual exclusion
  - Threads
  - Filesystem
  - File mapping and shared memory
  - Shared mutex for interprocess synchronization
  - Sockets wrapper
- Misc
  - Input buffer
  - Random number generation
  - Async functions (coroutines)
  - Vector and color math
  - XML
  - HTTP 1 client

Preprocessor options
- KIT_DISABLE_SYSTEM_MALLOC                 - Disable system memory allocation functions.
- KIT_DISABLE_SYSTEM_THREADS                - Disable system multithreading functions.
- KIT_DISABLE_SYSTEM_SOCKETS                - Disable system socket library.
- KIT_ENABLE_CUSTOM_ALLOC_DISPATCH          - Enable custom allocation dispatch.
- KIT_ENABLE_CUSTOM_ASYNC_FUNCTION_DISPATCH - Enable custom async function dispatch.

C11 threads implementation was forked from the Mesa source code.
* https://gitlab.freedesktop.org/mesa/mesa

HTTP1 implementation was forked from the picohttpclient
* https://github.com/csachs/picohttpclient