News for hackers. Stuff that matters.
Re:Common *nix commands written in Rust by dragonsh on Saturday May 16, 2020 @10:51PM (#23209108)
Go even with GC is very popular as systems programming language in its niche of writing network servers, can’t say the same about Rust except it’s in Fashion on HN, because it looks complex and difficult for programmers. Rust rely on underlying C library for doing anything useful today and still hasn’t demonstrated any real large benefits.

Zig helps programmer with tools to write memory safe programs by not shooting in foot with sane and easy syntax and memory allocator. Still like Rust it needs to prove, so time will tell whether marketing and fashion or simplicity and sanity wins. There are enough examples where fashion and marketing with minuscule benefits did win.

Re:Common *nix commands written in Rust by monocasa on Saturday May 16, 2020 @11:14PM (#23209261)
> Go even with GC is very popular as systems programming language in its niche of writing network servers

Nine times out of ten a network server isn't systems programming. And even at google, golang is starting to be banned for real systems use by some projects.

> Rust rely on underlying C library for doing anything useful today

Go relies on libraries everywhere except Linux too, because that's where the stable boundaries are.

And even in Linux it was a bad plan for them not to rely on the C lib, because they miss out on other system configuration stuff like locale information because of their choices there.

> Zig helps programmer with tools to write memory safe programs by not shooting in foot with sane and easy syntax and memory allocator.

So.. the same way C does?

Re:Common *nix commands written in Rust by pdimitar on Monday May 18, 2020 @04:52AM (#23220013)
> * And even at google, golang is starting to be banned for real systems use by some projects.*

Quite curious. Got a source? Would like to read more on that.

Re:Common *nix commands written in Rust by monocasa on Monday May 18, 2020 @09:42AM (#23222162)