News for hackers. Stuff that matters.
Re:Rust: A Critical Retrospective by sph on Thursday May 19, 2022 @11:23AM (#31435891)
There's definitely a space for native languages that are not as dense and performant possibly as Rust. I will trade some readability when I need strict memory guarantees and use Rust, but most of my time I'd like to use something readable and fun to use, which Rust ain't.

I used to use Go, not much of a fan anymore, but I'm liking Crystal a lot to fill this space. Eventually Zig when it's more mature.

Re:Rust: A Critical Retrospective by sbmthakur on Thursday May 19, 2022 @04:49PM (#31439977)
Just started learning Go. If I may ask, why did you loose interest in Go?
Re:Rust: A Critical Retrospective by sph on Thursday May 19, 2022 @06:47PM (#31441161)
Not enough syntax sugar, not functional enough, and a few smaller papercuts.

It feels dry, like a humourless android. Not very fun to write but probably the most pragmatic choice for the problem. I prefer having fun when I program.

Re:Rust: A Critical Retrospective by merely-unlikely on Thursday May 19, 2022 @10:49PM (#31442804)
I tend to see that as an advantage - the language gets out of the way and lets me just have fun with the problem itself. Especially if I'm referencing code other people wrote (ie libraries) where I can pretty much instantly grok what's going on and focus on the logic. Different strokes
Re:Rust: A Critical Retrospective by xigoi on Friday May 20, 2022 @06:10AM (#31445391)
I wouldn't call a huge mountain of `if err != nil` “gets out of the way”.