4 ms·
https://github.com/petermattis/fastcgo https://github.com/petermattis/fastcgo, which is now 7 years old seems to do something similar without the need to about
by yutijke 2y ago
https://github.com/petermattis/fastcgo https://github.com/petermattis/fastcgo, which is now 7 years old seems to do something similar without the need to about obscure CGO FFI configuration. It also seems to be 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 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.
- dontlaugh 2y agofastcgo links to rustgo
- deleted 2y ago[deleted]