https://github.com/lukaszbudnik/cloud-native-c
cloud-native-c shows how to use AWS Go SDK from C using cgo
https://github.com/lukaszbudnik/cloud-native-c
aws c cgo cloud cloud-native golang
Last synced: 2 months ago
JSON representation
cloud-native-c shows how to use AWS Go SDK from C using cgo
- Host: GitHub
- URL: https://github.com/lukaszbudnik/cloud-native-c
- Owner: lukaszbudnik
- License: apache-2.0
- Created: 2021-08-19T17:53:06.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-24T07:37:52.000Z (almost 5 years ago)
- Last Synced: 2025-01-05T03:48:52.663Z (over 1 year ago)
- Topics: aws, c, cgo, cloud, cloud-native, golang
- Language: C
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloud native C
This is a sample project which shows how to integrate C and Go.
It contains:
- Go code which uploads and downloads objects to/from AWS S3
- C code which calls Go code to handle upload/download logic
- Makefile
Supported platforms (built automatically using GitHub Actions) are:
- MacOS 10.15
- Ubuntu 20.04
- Windows 2019 with MinGW
See [build.yml](.github/workflows/build.yml) for details.
To build and run the project (assuming make, gcc and go are installed) simply execute:
```sh
$ make all
$ ./app app.c my-bucket-name
```
If you want to learn more about this project, c, go, and cgo please checkout out my article: [Cloud native C](https://dev.to/lukaszbudnik/cloud-native-c-48m).