News for hackers. Stuff that matters.
Re:Rust: Tools (early access edition) by sshine on Saturday November 30, 2024 @08:10AM (#42281415)
So... why should I buy a $35 introductory programming book in 2024?

Here are some free introductory Rust books:

  - The Rust Book: https://doc.rust-lang.org/book/
  - Rust 101: https://www.ralfj.de/projects/rust-101/main.html
  - Rust by Example: https://doc.rust-lang.org/rust-by-example/
  - Easy Rust: https://dhghomon.github.io/easy_rust/
  - A Gentle Introduction to Rust: https://stevedonovan.github.io/rust-gentle-intro/
Although I typically show people Rustlings, because it teaches programming workflow.

What am I getting for $35 that isn't covered excellently for free already?

Here are some books I spent money on in the last 5 years:

  - Functional Design and Architecture, by Alexander Granin
  - Production Haskell, by Matt Parsons
  - Thinking with Types, by Sandy Maguire
Being a seasoned developer, I would pay money for someone to fast-forward me through advanced concepts.

Here are some examples of free Rust books covering advanced examples:

  - The Rustonomicon: https://doc.rust-lang.org/nightly/nomicon/
  - Rust Design Patterns: https://rust-unofficial.github.io/patterns/
  - Effective Rust: https://www.lurklurk.org/effective-rust/
  - Rust Atomics and Locks: https://marabos.nl/atomics/foreword.html
  - The Little Book of Rust Macros: https://danielkeep.github.io/tlborm/book/index.html
  - Burn: Deep Learning Framework: https://burn.dev/burn-book/
  - API Development with Rust: https://rust-api.dev/docs/front-matter/preface/
  - Rust Compiler Development Guide: https://rustc-dev-guide.rust-lang.org/getting-started.html
I'd pay money for any of those. Not sure about an introductory book, considering the availability of good, free books.
Re:Rust: Tools (early access edition) by tejinderss on Saturday November 30, 2024 @10:17AM (#42282045)
> Here are some books I spent money on in the last 5 years

Would you recommend these books?

Re:Rust: Tools (early access edition) by sshine on Saturday November 30, 2024 @01:06PM (#42283033)
They are great in each their way, but they're niche.

Production Haskell is for people who want to take their academic Haskell and turn it commercial. There's a lot of practical advice, both coding and non-coding.

Thinking with Types is a very good introduction to type-driven , but the later chapters assume very strong type systems (type-level functions, higher-kinded types, etc.) so you may not be able to apply this kind of modelling outside of Haskell, PureScript, Idris, LEAN, etc.

The book that translates best into any environment is Granin's Functional Architecture.

I can warmly recommend that one even if you're not venturing into FP as a whole.

I can't compare it to a whole lot of other software architecture books, though.

Re:Rust: Tools (early access edition) by bitfix on Monday December 02, 2024 @01:45AM (#42293743)
Why would you even think of buying an introductory book if you are a seasoned dev?