News for hackers. Stuff that matters.
Re:D as a Better C by knowThySelfx on Thursday August 24, 2017 @01:27AM (#15087808)
Rust's documentation is very well written. The authors have put in great effort to make things clear.

Granted Rust has some paradigms and constructs which are not easy to learn, I found it rather exciting. I think it has future scope.

Wonder whats happening with Redox. I hope Rust adds more libraries, especially network related, since the networked world is increasingly looking like a distributed OS of sort. Browsers are looking like an OS or a shell inside the OS. Browsers are getting more complex with more functionalities added every few months. Not sure I expressed my thoughts correctly, but I guess one can understand what I mean.

Rust should move away from C standard library, if possible.

Re:D as a Better C by steveklabnik on Thursday August 24, 2017 @11:34AM (#15090936)
> Wonder whats happening with Redox.

They've been involved in Google Summer of Code, and so have had lots of status update posts lately, here's the latest: https://redox-os.org/news/gsoc-self-hosting-final/

> Rust should move away from C standard library, if possible.

It's not always possible, but on systems where it is, there's some ability to do so, see https://github.com/japaric/steed

Re:D as a Better C by knowThySelfx on Friday August 25, 2017 @05:41AM (#15097233)
Thanks Steve.

>It's not always possible, but on systems where it is, there's some ability to do so, see https://github.com/japaric/steed

Doesn't linking to it make a Rust program "unsafe", in the Rust sense? Or my understanding is probably not correct.

Re:D as a Better C by steveklabnik on Friday August 25, 2017 @10:43AM (#15098794)
Using unsafe inside of safe is totally fine. See https://doc.rust-lang.org/nomicon/safe-unsafe-meaning.html for more.
Re:D as a Better C by knowThySelfx on Saturday August 26, 2017 @09:30AM (#15105335)
Cheers, thanks.