-
https://github.com/petermattis/fastcgo, which is now 7 years old seems to do something similar with but with less requirement to know about obscure CGO FFI configuration. It is also seems more generally applicable for any language with C interop.
There had been an issue for having something similar in the language itself - https://github.com/golang/go/issues/42469, but the Golang compiler team rejected it. If you have followed similar discussions around this with the Golang compiler team, you will notice a pattern of interaction that strongly indicates that they are very much opposed to ever accepting this into the compiler.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
https://github.com/petermattis/fastcgo, which is now 7 years old seems to do something similar with but with less requirement to know about obscure CGO FFI configuration. It is also seems more generally applicable for any language with C interop.
There had been an issue for having something similar in the language itself - https://github.com/golang/go/issues/42469, but the Golang compiler team rejected it. If you have followed similar discussions around this with the Golang compiler team, you will notice a pattern of interaction that strongly indicates that they are very much opposed to ever accepting this into the compiler.
-