3 ms·
>A language with the learning curve of Python, near C performance and strong safety guarantees of Rust. Sounds like Go or Zig, though Go is slightly less safe
by angra_mainyu 2y ago
>A language with the learning curve of Python, near C performance and strong safety guarantees of Rust.
Sounds like Go or Zig, though Go is slightly less safe and slower - in turn being much easier.
Though I'd reach for Go first if I'm working with anything concurrent. Concurrency is hard, and Go really helps with getting it right.
- kaba0 2y agoGo is not at all playing in the same league as Zig or Rust. Of course managed languages are more than fine for almost every use case, but I really hate this trends to wash go together with low-level languages for absolutely no good reason.
- mwcz 2y agoThat's not just a trend. There are many areas of programming where a choice between Rust and Go is perfectly reasonable. Rust is playing on Go's turf, but Go isn't playing on Rust's, if you get my meaning.
- pjmlp 2y agoF-Secure created USB Armory firmware in Go instead of Rust, exactly because they wanted to make the point of it being a possible scenario for Go, regardless of what the interwebs think about the idea. USB Armory is still being sold.
- gliptic 2y agoZig doesn't have anything like the safety guarantees of Rust.