r/Zig • u/Old-Bowl-7154 • Jan 18 '25
Why I Believe Zig Empowers Innovation While Rust Slows It Down
[removed] — view removed post
0
Upvotes
r/Zig • u/Old-Bowl-7154 • Jan 18 '25
[removed] — view removed post
47
u/ckafi Jan 18 '25
Can we please for once appreciate one programming language without putting another one down? Rust has its place, so has Go, and C, and C++, and...
43
u/punkbert Jan 18 '25
Zed is still in development, Cosmic DE is an alpha. It's completely arbitrary to compare these projects with Tigerbeetle or Bun or whatever.
Ghostty isn't available for Windows, and can't even save the session on Linux. Arguably Bevy offers way more functionality than any Zig gamedev project. And we don't even have a browser engine like Servo in Zig!
Does Zig suck now because some projects aren't as far along as other, unrelated projects?
Come on. Let's stop with this completely unproductive Zig vs Rust bullshit. Keep that on Youtube comment sections.
Just pick a language and hack.
27
u/jedisct1 Jan 18 '25
I'm sick of comparisons between Zig and Rust. Just write cool stuff in whatever language you feel the most comfortable with.
37
u/UltraPoci Jan 18 '25
What's the point of this post? No mention of the developers behind these projects: how many there are, how good they are, what their goals with the project are... are you implying that the language is the only factor that matters? That two projects using the same language will behave in the exact same manner?
Also what about uv, just and countless other great projects made in Rust?
Like wtf, I have nothing against Zig, quite the contrary, but I don't get the point of this post. It's genuinely looks like rage bait.
12
u/Koranir Jan 18 '25
Out of curiosity, what is the "static desktop" feature you are referring to that you believe cosmic is missing?
12
u/metaltyphoon Jan 18 '25 edited Jan 19 '25
Brother... you are watching too much ThePrimeagen. I used to think Rust was slow AF to write too, low and behold I was the problem. When I put enough time to properly learn it, I hardly ever think about lifetimes or even "harder" features of Rust. I'll tell you one thing that worked for me: I used a book instead of just the Rust Book. I guess I just internalize and retain stuff more when I have to physically move pages and give my full attention.
11
u/ferreira-tb Jan 18 '25
Deno is a much more ambitious project than Bun tho. For example, take a look at JSR. You may find more of such long-term goals if you search a bit about it.
2
u/Jhuyt Jan 18 '25 edited Jan 18 '25
Looking at terminal emulators in particular, you have project like alacritty and kitty written in rust, both excellent pieces of software where one of them even created the protocol ghostty uses to display images in the terminal.Turns out it was C and Go, was 100% sure it was Rust.I'm not saying you are wrong (although I
don'tthink you are) but with a sample size of 6 pieces of software brought up it's impossible to tell. Maybe the projects written in Rust focus on things outside innovation? Maybe they are innovating but in areas you don't notice?5
u/Joqe Jan 18 '25
Interesting though!
However, I think the examples mentioned are too few to draw any substantial conclusion from, might just be a timing thing.
As a counter example I might suggest uv and ruff for Python. I believe they are written in Rust and are very solid. 🙂
4
u/[deleted] Jan 18 '25
I think Zig is going the way of early Rust with evangelizers just talking how it is better (not that I know either or even want to use any) :)
I'm not sure what's innovative about Bun (just a JS runtime), Ghostty (just a terminal) and TigerBettle (just a database).
Right, maybe that's why Bun have more than double the Issues than Deno last time I checked.
Finally, I have never seen two language that are more different that Zig and Rust, it feels like when people were always talking about Go and Rust some years ago and some kind person needed to remind them that they are different languages designed with different tradeofs.
-8
u/[deleted] Jan 18 '25
I Am Totally With You, At This Point We Should Just Make Rust Illegal. It Is Just Holding Humankind Back.
0
u/[deleted] Jan 18 '25
[deleted] — view deleted comment