News for hackers. Stuff that matters.
Re:Game Jam 2 Results by infamouscow on Friday September 09, 2022 @01:11PM (#32782034)
I've noticed people that like writing code in Zig are fans the language and the people that like writing code in Rust center their identity around the language. The former leads to people saying they enjoy writing code in Zig, the later leads to religious zealotry and moral condemnation for using anything other than Rust.
Re:Game Jam 2 Results by ameixaseca on Friday September 09, 2022 @02:12PM (#32782878)
Not sure which lens you are using for coming to this conclusion. In my experience, most people writing Rust code have no "moral superiority" and treat Rust as a "better tool", not as a religion per se.

However, what I've seen in the discourse of several programmers that claim to prefer Zig is the assumption that Rust is "not really that big of a deal". There's a constant minimization of the advancements both the ownership system and the safety approach provide, and a lack of recognition for the fact that the language is a "game changer" in the industry.

Overall, this looks a lot like rationalization of an emotional choice, which for me is much more close to religious zealotry.

Re:Game Jam 2 Results by kristoff_it on Friday September 09, 2022 @06:45PM (#32785791)
> However, what I've seen in the discourse of several programmers that claim to prefer Zig is the assumption that Rust is "not really that big of a deal". There's a constant minimization of the advancements both the ownership system and the safety approach provide, and a lack of recognition for the fact that the language is a "game changer" in the industry.

I think you have inadvertently worded this in a way that silently confirms what the parent poster was saying. But more generally, while I can't speak for the entirety of the Zig community, the people involved with Zig directly tend to be aware of Rust's strengths. The problem is that one of the reasons why Zig exists (and is having some level of success) is because some people just don't want to deal with abstraction-heavy code. Some people value simplicity over a complex language with a memory-safe subset.

And the value of simplicity is not just a matter of aesthetics. Simplicity is a defense against bugs, because memory safety is not the end goal, correctness is.

https://twitter.com/croloris/status/1568342336580755456

Re:Game Jam 2 Results by Ygg2 on Friday September 09, 2022 @08:17PM (#32786420)
I think the issue is memory safety is reachable. Correctness is either extremely hard (proof program satisfied specifications) to nigh impossible (make sure all icon pointy things are aligned).
Re:Game Jam 2 Results by kristoff_it on Friday September 09, 2022 @09:04PM (#32786678)
And yet there are programs out there that work well enough, but that's not a story PL theorists would tell you.
Re:Game Jam 2 Results by Ygg2 on Saturday September 10, 2022 @09:32AM (#32790456)
Saying work well enough isn't really reasurring.

To quote Douglas Crockford: "If you say it hardly happens, it means it happens".

Re:Game Jam 2 Results by davidjfelix on Friday September 09, 2022 @01:45PM (#32782514)
Which language is the one where you make sweeping generalizations?
Re:Game Jam 2 Results by hu3 on Friday September 09, 2022 @01:56PM (#32782656)
It's funny you say that when a rustacean just posted below that it is irresponsible to use unsafe languages.

Instead of focusing on tradeoffs they chose to call others irresponsible.

Re:Game Jam 2 Results by pcwalton on Friday September 09, 2022 @02:08PM (#32782842)
It's perfectly reasonable to take the position that it's deeply problematic for a language aiming for wide use in 2022 to not be memory safe. There's no requirement that you "focus on tradeoffs", especially since real people get hurt by memory safety problems.
Re:Game Jam 2 Results by kristoff_it on Friday September 09, 2022 @05:56PM (#32785380)
I think you're actively hurting the project that you care about in your ineffective crusade, but hey, don't let me stop you.
Re:Game Jam 2 Results by TakeBlaster16 on Friday September 09, 2022 @02:20PM (#32782981)
> It's funny you say that when [member of group] just [did something once]. It's not a sweeping generalization! They always do this!
Re:Game Jam 2 Results by tadfisher on Friday September 09, 2022 @02:30PM (#32783108)
That comment does not mention Rust.