Re:Why I rewrote my Rust keyboard firmware in Zig: consisten...
by aboodman on Sunday March 07, 2021 @07:18PM
(#26381085)
If you haven't worked with Go you should definitely do it, just to compare. It's hard to imagine two popular mainstream languages further apart in spirit than these two.
Go is so focused on simplicity that you'll be up and running (and have your server working) in like a day, tops. Then you can ponder the tradeoffs from a place of (some) knowledge not hypotheticals.
I recently wrote a custom HTTP framework in Rust and had spent 2 weeks to figure out how to store a collection of async closure so I can call any of them later. The idea / goal was very clear, but it was so hard for me to figure out how to implement it in the language.
Maybe I'm not smart enough for Rust, but I've already used Rust for more than 1 year, and still struggled to use it. I don't know if I should switch to a different language, e.g. Golang.