3 ms·
Well I was debating learning C this year, but Zig seems like the more attractive option. I'd be starting new projects from scratch
by voidUpdate 1y ago
Well I was debating learning C this year, but Zig seems like the more attractive option. I'd be starting new projects from scratch
- johnisgood 1y agoI think it is still useful to learn C, however. For personal projects you could use Zig, but it is still good to know C. C is like the lingua franca of programming languages, and some assembly (if you care about optimization, for example).
- woodrowbarlow 1y agoahh, ideally i'd say learning them in any order is fine but unfortunately since the zig ecosystem is not mature yet that means you'll find yourself using C libraries from zig fairly often. so, yes, i agree learning zig is a great idea for new independent projects but (at the current stage) be prepared to also learn at least enough about C to use C libraries (return type conventions, raw enums, c-style strings, inflexible allocators).