3 ms·
Andy, is it a coincidence or have some features of Zig been inspired by Go? More specifically: defer, the syntax for the array type with [] as a prefix instead
by ngrilly 9y ago
Andy, is it a coincidence or have some features of Zig been inspired by Go? More specifically: defer, the syntax for the array type with [] as a prefix instead of a suffix, and the syntax for array literals.
- AndyKelley 9y agoYeah both of those were inspired by Go, which I'm sure were inspired by older ideas. There's nothing new under the sun. What Zig brings to the table is high quality engineering and bringing the ideas together in a way that makes sense.
- ngrilly 9y agoIncremental improvements and cross-pollination are great! I don't need a language with manual memory management for my current projects, but I'll definitely keep an eye on Zig. It solves most things I dislike in C, and keeps the good stuff.