Porting Go's strings package to C
4 points
1 hour ago
| 1 comment
| antonz.org
| HN
nasretdinov
25 minutes ago
[-]
Interestingly enough, the initial Go implementation was indeed just a transpiler to C, and generally Go and C are semantically very similar. So the fact that you can even (successfully and relatively easily) do Go->C transpiling isn't entirely surprising. Of course you can't port `go` keyword and GC, but the language that the author is developing (called So) doesn't support these features anyway :).
reply