4 ms·
> But for those of us looking for a C alternative, we have it, and it's Go. What exactly have you been using C for? Go has a very heavy runtime and is garbage
by yazaddaruvala 4y ago
> But for those of us looking for a C alternative, we have it, and it's Go.
What exactly have you been using C for?
Go has a very heavy runtime and is garbage collected. It also cannot be embedded within other languages. Go has very different performance characteristics. Go on embedded might be possible but would be a big exercise for the reader.
I'm really not sure what you mean by Go is C alternative.
The only similarity between C and Go I see is the syntax and that there were no generics, and even that is no longer the same. The only other similarity is the need to cast to and from the equivalent of `(void *)` to get around the typechecker.