News for hackers. Stuff that matters.
Re:The search for easier safe systems programming by angra_mainyu on Wednesday May 08, 2024 @07:38AM (#40296824)
>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.

Re:The search for easier safe systems programming by kaba0 on Wednesday May 08, 2024 @08:54AM (#40297579)
Go 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.
Re:The search for easier safe systems programming by mwcz on Wednesday May 08, 2024 @09:08AM (#40297695)
That'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.
Re:The search for easier safe systems programming by pjmlp on Wednesday May 08, 2024 @09:20AM (#40297821)
F-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.

Re:The search for easier safe systems programming by gliptic on Wednesday May 08, 2024 @10:00AM (#40298219)
Zig doesn't have anything like the safety guarantees of Rust.