News for hackers. Stuff that matters.
Re:Rust vs Go: A Hands-On Comparison by mre on Wednesday September 27, 2023 @01:28PM (#37678042)
Author here. It took me about 2 hours to code the Go service and maybe 4 to do the Rust part. The reason why Rust took longer was mainly because of the better error handling and the few more higher level abstractions. I could have added unwraps everywhere to get about the same experience, but yeah.
Re:Rust vs Go: A Hands-On Comparison by c2xlZXB5Cg1 on Wednesday September 27, 2023 @01:50PM (#37678375)
Honest question: how does "better error handling" cause the implementation time to increase?
Re:Rust vs Go: A Hands-On Comparison by Siecje on Wednesday September 27, 2023 @02:47PM (#37679361)
Better error handling in the final result.