GitHub user metegenez edited a discussion: CGO dependency as adoption blocker 
for C++ engines

Hey folks,
I've been working on integrating ADBC into a StarRocks. The ADBC C API and 
driver manager are great, clean, embeddable, easy to work with.
The problem is that the moment you need an actual driver (Flight SQL, 
Snowflake, etc.), you hit a CGO dependency. For C++ query engines, this is a 
real friction point:

- Extra Go toolchain in an already complex C++ build system
- Go runtime (GC, goroutine scheduler) embedded inside a latency-sensitive C++ 
process
- Cross-compilation and static linking headaches


I know there was an earlier C++ Flight SQL driver attempt (apache/arrow#14082) 
that was dropped in favor of the Go implementation. Since then the 
c/driver/framework has matured a lot, and Arrow C++ Flight libraries are solid.
Would the community be open to pure C++ driver implementations, starting with 
Flight SQL? I'm an Arrow committer and happy to help the work, just want to 
check if this direction makes sense before diving in. 

I never worked on this library before, so there are a lot of experienced people 
here to guide me at least. 

GitHub link: https://github.com/apache/arrow-adbc/discussions/4156

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to