Like, what are we doing.
This “article” is flame bait.
11–20 of 36 posts
Like, what are we doing.
This “article” is flame bait.
Until it gets widely adopted and people want to have certain feature, etc.
This makes it sound like Zig built Rust equivalent safety but its manual memory model suggests otherwise?
And then it wasn't.
And a second thought since the article seems to be flagged now: considering the fan reaction to a post disparaging their favorite language, how is the Rust community different from a religious cult now?
A thought: is using Rust a form of avoiding responsability? And a second thought since the article seems to be flagged now: considering the fan reaction to a post disparaging their favorite language, how is the Rust community different from a religious cult now?
How so?
> considering the fan reaction to a post disparaging their favorite language, how is the Rust community different from a religious cult now?
Believe it or not, not all criticism is created equal. High-quality criticism is consistently well-received from what I've seen. This doesn't seem to get particularly close to that bar.
> Rust shouted about safety. Zig just built it — without the ceremony, the sermons, or the 15-minute compile times.
Which I interpret as meaning that zig delivers memory safety in a simpler way than rust. But a few paragraphs in, it says:
> Rust teaches you ownership like a tough-love therapist. Zig, meanwhile, just shrugs and says, "You break it, you fix it." That's the philosophical divide. Rust assumes you can't be trusted. Zig assumes you're an adult.
Does this mean that zig's safety depends on trusting the programmer to write correct code? This wouldn't necessarily be a bad thing if zig makes correct code simple to write or has other advantages, but if incorrect code is allowed it makes sense why the compiler can be more permissive and I wouldn't say it's quite delivered the same thing as Rust.
Ok, another thing:
> Zig looks boring. Feels boring. Reads like a C project written by someone who finally went to therapy.
pub fn main() void {
const stdout = std.io.getStdOut().writer();
stdout.print("Hello, World!\n", .{}) catch unreachable;
}
> That's it. No macros. No build.rs. No Cargo screaming about outdated crates.Am I crazy or does this not actually look simpler than
fn main() {
println!("Hello, world!");
}
Is the zig version doing something other than hello world? Or did the author, in their post about how zig is simpler and more readable than rust, choose a code example where the corresponding rust code would be much simpler and more readable?