Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mivinci/libgo
A Go-like multi-threaded asynchronous runtime.
https://github.com/mivinci/libgo
ansi-c asynchronous-programming coroutines go goroutine linux macos windows
Last synced: 11 days ago
JSON representation
A Go-like multi-threaded asynchronous runtime.
- Host: GitHub
- URL: https://github.com/mivinci/libgo
- Owner: mivinci
- Created: 2024-07-17T16:56:12.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-03T16:38:14.000Z (2 months ago)
- Last Synced: 2024-10-11T05:43:42.743Z (about 1 month ago)
- Topics: ansi-c, asynchronous-programming, coroutines, go, goroutine, linux, macos, windows
- Language: C
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libgo
A Go-like multi-thread asynchronous runtime.
## Pre-Requirement
- [cmake](https://cmake.org)
- [googletest](https://github.com/google/googletest)
- [vcpkg](https://vcpkg.io/) - *Windows Only*## Build
Run
```bash
mkdir build && cd $_
cmake ..
cmake --build .
```and you'll get:
- A shared library `libgo.so` or `libgo.dylib` to be linked to your project
- An executable `test` to run all the tests.## Tests
- Like Go, all unit tests must be writen in a file named `xxx_test.c++` alongside a source file `xxx.c` or `xxx.c++`.
- All functional tests must be writen in a file named `xxx_test.c++` under directory `tests` where `xxx` is what to be tested.