News for hackers. Stuff that matters.
Re:Beej's Guide to C Programming by thrwawy74 on Sunday February 26, 2023 @01:09PM (#34947725)
Not to be pander, but I wonder if anyone has worked on a translation of this to Rust.
Re:Beej's Guide to C Programming by doodlesdev on Sunday February 26, 2023 @01:13PM (#34947776)
Tell me you use Hacker News without telling me you use it hahahaha.

But seriously, I'm not sure of any kind of material like this for Rust, but I believe that's because it's simply not needed since we already have "the book" [0], rustlings [1], and rust by example [2]. Honestly, learning Rust is just absurdly simple and straightforward if you have the motivation to do so, these guides are so good I don't see much of a good reason to develop different ones.

[0]: https://doc.rust-lang.org/book/

[1]: https://github.com/rust-lang/rustlings/

[2]: https://doc.rust-lang.org/stable/rust-by-example/

Re:Beej's Guide to C Programming by steveklabnik on Sunday February 26, 2023 @02:23PM (#34948491)
As someone who helped write one of those guides… I would encourage people to write even more. Different texts can help different people. The more the merrier!
Re:Beej's Guide to C Programming by thrwawy74 on Sunday March 05, 2023 @08:24PM (#35036376)
This is exactly what I have found. You can find 10+ guides on networking and usually it's 1 chapter from this author, 1 from this author, 2 from over here... the perspectives or writing styles collage together to present me with the thing that helps the material "click". Enough exposure and you become capable :)
Re:Beej's Guide to C Programming by beej71 on Sunday February 26, 2023 @02:03PM (#34948298)
I just want to go on record as saying there will never be a *comprehensive* Beej's Guide to Rust. There will never be another comprehensive Beej's Guide to Any Language, for that matter. I've learned my lesson. :)

C is one of the most simple languages there is, and it's YOUGE. There's a good reason other books skim over the library functions. The only saving grace is that C is relatively mature and (hopefully) doesn't change much every decade. Rust is changing so quickly it'd be a near-full-time job just to keep up.

Maybe I'll write some blog posts about Rust sometime as I improve with it. I think the language is all kinds of fun.

And the free Rust books and tutorials that are out there are already awesome.