News for hackers. Stuff that matters.
Re:Rust needs a web framework for lazy developers by gcau on Sunday October 06, 2024 @07:47PM (#41761370)
Rust has benefits besides just memory safety and being efficient, it has great language design and a great toolchain. I chose (learning) rust over golang for quite simple projects with no performance requirements, out of sheer frustration with the toolchain/design of go, golang came off to me as "let's try to be special and make bizarre design decisions" which made it confusing to learn, not only that but I very quickly ran into pain points, whereas rust felt like everything just took the most logical straightforward path, and everything "just worked". It, to me, genuinely feels simpler, because things were what I expected. Kind of like apple simplifying their mouse to have no buttons and thinking it's very simple and easy, but then its just more complicated because it's so unusual, whereas everyone knows exactly how a normal mouse works. Just my view. I use typescript and needed a language to make a couple simple programs that could compile to a single executable, I'd love another option but don't want to use one that's not matured enough.
Re:Rust needs a web framework for lazy developers by angra_mainyu on Sunday October 06, 2024 @08:31PM (#41761624)
Zig is an excellent middle ground though it doesn't hit the maturity spot - I keep on having to update build.zig with most releases.

That said, what exactly was the issue you had with Go?

Re:Rust needs a web framework for lazy developers by demi56 on Monday October 07, 2024 @12:34AM (#41762844)
Basically the type system, most rust projects usually don’t come near “The advanced Reason there’s rust” and if they do need that there’re hardcore libraries for that, an ecosystem like that usually suffers from exhaustion cause no dev will want to maintain just a library and this is also the good apart of rust cause it lessens the barrier into the language as the ecosystem gets bigger
Re:Rust needs a web framework for lazy developers by lenkite on Monday October 07, 2024 @02:14AM (#41763234)
Strange - my experience was the opposite for Rust. The extreme plethora of String types, the way life time annotations made refactorings very difficult with very high cognitive overhead, no batteries included standard library, even error handling needing external support, string slicing panicking in Rust, async is a mess to debug - Go in contrast is a far more comfortable and consistent developer experience.