-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Description
Summary
It would be highly valuable to add a C module (cmodule) to the Harmony library, allowing it to be easily called from C, C++ (cxx), or Go projects. This would greatly improve the interoperability and adoption of Harmony in diverse environments.
Use Case
- Enable calling Harmony functionality from C or C++ codebases
- Provide Go bindings via cgo or similar FFI approaches
- Facilitate embedding Harmony into other systems written in these languages
In particular, I would like to try using Harmony in the NexaAI/nexa-sdk project, which would benefit from such integration.
Suggested Approach
- Design and implement a C API for core Harmony features
- Document how to build and link against the C module
- (Optionally) Provide example usage from C, C++, and Go
Motivation
Many existing projects and infrastructure are written in C, C++, or Go. A C module would allow seamless integration and increase the utility of Harmony.
Thank you for considering this feature request!
Metadata
Metadata
Assignees
Labels
No labels