Solod – A Subset of Go That Translates to C

https://github.com/solod-dev/solod

GitHub - solod-dev/solod: A subset of Go that translates to C

A subset of Go that translates to C. Contribute to solod-dev/solod development by creating an account on GitHub.

GitHub

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.

Looks to me like having the ability to write Go syntax and interop directly with C is the plus.

Go's syntax is basically C tho lol

what's the benefit? for loops?