I don't really "get" the sweet-spot being targeted here. You don't get channels, goroutines, or gc, so aside from syntax and spatial memory safety you're not really inheriting much from Go. There is also no pathway to integrate with existing Go libraries.
Spatial memory safety is nice but it's the temporal safety that worries me most, in nontrivial C codebases.
tidwall•1h ago
Looks to me like having the ability to write Go syntax and interop directly with C is the plus.
Retr0id•1h ago
I do like Go's syntax but I can't help thinking the best language for C interop is C.
AdieuToLogic•39m ago
> I do like Go's syntax but I can't help thinking the best language for C interop is C.
SWIG[0] is a viable option for incorporating C code as well.
Retr0id•1h ago
Spatial memory safety is nice but it's the temporal safety that worries me most, in nontrivial C codebases.
tidwall•1h ago
Retr0id•1h ago
AdieuToLogic•39m ago
SWIG[0] is a viable option for incorporating C code as well.
0 - https://swig.org/Doc4.4/Go.html#Go