https://github.com/yuesong-feng/wheelib
Fundamental C library, simple and tidy
https://github.com/yuesong-feng/wheelib
Last synced: 14 days ago
JSON representation
Fundamental C library, simple and tidy
- Host: GitHub
- URL: https://github.com/yuesong-feng/wheelib
- Owner: yuesong-feng
- Created: 2024-09-09T14:03:51.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-12-02T15:24:38.000Z (5 months ago)
- Last Synced: 2025-04-07T00:11:28.651Z (22 days ago)
- Language: C
- Size: 113 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wheelib
wheelib(Whee[wiː] Lib) is a industrial-grade C library.
Design Philosophy of wheelib: simple(简单) + tidy(整洁)
wlib is header-only, avoiding many problems related to compiling, static/dynamic library, etc.
wlib trust operation system by considering all system calls should return properly, which may be dangerous in production environment requiring high stability.
wlib is for unix system now, Windows may be supported later.
wlib includes C99 for delicate bool/true/false
wlib includes C99 because it's really hard for the lib itself to perfectly define 32/64 bit platform.
wlib doesn't include now
| modular | description |
| ---- | ---- |
| basic | some basic defines |
| byte | byte utilities |
| calc | calculations |
| mutex | mutex lock |
| rwlock | read-write lock |
| cond | conditional variable |
| event | event utilities |
| sem | semaphore utilities |
| mem | memory utilities |
| thread | thread utilities |
| lst | double-linked list |
| hash | simple static hash table |
| atomic | atomic utilities |
| io | input-output utilities |
| vm | stack based cpu virtual machine |