| ▲ | Solod – A Subset of Go That Translates to C(github.com) | |||||||||||||||||||||||||
| 33 points by TheWiggles 2 hours ago | 7 comments | ||||||||||||||||||||||||||
| ▲ | Retr0id an hour ago | parent | next [-] | |||||||||||||||||||||||||
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 an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
"To keep things simple, there are no channels, goroutines, closures, or generics." I wonder if it could be integrated with https://github.com/tidwall/neco, which has Go-like coroutines, channels, and synchronization methods. | ||||||||||||||||||||||||||
| ▲ | MYEUHD 36 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||
Related and currently on the front page: https://news.ycombinator.com/item?id=47627595 | ||||||||||||||||||||||||||
| ▲ | Onavo 23 minutes ago | parent | prev [-] | |||||||||||||||||||||||||
Does it work with the preprocessor? | ||||||||||||||||||||||||||