4 ms·
Folks! do I really need learn Zig? I am already good with Rust!!
by virajk_31 11mo ago
Folks! do I really need learn Zig? I am already good with Rust!!
- epolanski 11mo agoBar C if you're into system's programming there's no language you *need* to learn.
- virajk_31 11mo agoPartially agree on this, std lib/crates and ease of use do make a difference (this is not even the main reason to use Rust), though Rust certainly has its own headaches. (Imagine searching for someone's implementation of HashedMap on github or using dedicated packages like glib, when you get it easily at crates.io). Again this is subjective based on use cases.
- epolanski 11mo agoNot much for authoring new code as much as reading it, it's the lingua franca.
- tamnd 11mo agoYeah, you should. Zig is a trending language right now, and in the coming years many projects are likely to be rewritten in Zig instead of Rust (often referred to as "riiz").
- virajk_31 11mo agoIs this sarcasm? if yes I got your joke otherwise please enlighten me _/\_
- tamnd 11mo agoI was half joking. Folks keep saying everything will get rewritten in Zig, so I played along with that. Nothing serious behind it. With only half serious intent, I think only the real wizard types, like Jarred Sumner (Bun) and Mitchell Hashimoto (Ghostty), who understand both low level systems and higher level languages, should be writing big tools in Zig. The tough part in the next few years will not be building things, it will be keeping them alive if the authors step away or the ecosystems move in a different direction.
- WA 11mo agoSo, a new JS linter written in Zig, when?
- virajk_31 11mo agois it even required?
- benrutter 11mo agoI don't think you need to learn anything! Especially if you like Rust and it works for your projects. Not an expert but Zig seems like a modern C - you manage memory yourself. I guess if you want more modern features than C offers, and actively don't want the type-system sort of features that Zig has (or are grumpy about compile times, etc) then it's there for you to try!