News for hackers. Stuff that matters.
Re:Bitwarden compatible server written in Rust by mikece on Thursday December 23, 2021 @11:29AM (#29663417)
Good to know! I've been looking at Go because it's "smaller, lighter, faster" than C# but from this description Rust might be a better next language to learn. Thank you!
Re:Bitwarden compatible server written in Rust by masklinn on Thursday December 23, 2021 @11:44AM (#29663564)
Do be warned that although interesting and rewarding and amazing in all sort of ways Rust is not easy. Where Go was designed such that it takes hours to pick up, Rust requires weeks, and possibly months before you build the intuition around the borrow checker.

If you've been looking at go, it's really not much of an investment to try it out (I wouldn't heartily recommend it as I dislike the language but you do you).

Re:Bitwarden compatible server written in Rust by metaltyphoon on Friday December 24, 2021 @09:08AM (#29673678)
All those quotes are funny. "Smaller" as in the amount of keyword? Because you definitely need to type a lot more to get the same thing done. "Lighter" as in executable size? I'll give you this for the basic hello world apps. "Faster" ? That's just not true.
Re:Bitwarden compatible server written in Rust by jatone on Thursday December 23, 2021 @02:49PM (#29665732)
learn both. golang is vastly more productive than rust for me. better tooling, faster build times, smaller less complex language.

rust is fantastic for building highly performant safe code at the expense of developer productivity. builds times are atrocious and tooling isn't as polished as golang.

both at great languages.

Re:Bitwarden compatible server written in Rust by ViViDboarder on Thursday December 23, 2021 @04:26PM (#29666669)
The build times and a major differentiator to me. All my Rust projects with a handful of crates (those in turn have their own dependencies) take tens of minutes to build. In Go, a project with similar dependencies compiles in seconds.