/books/hands-on-rust
Active Threads:
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
In the flappy bird example in the book, the example code uses i32 as the type for the player’s y position. This has a possible unintended...
New
Title: Hands-on Rust:
Description: “Rust is returning a Result object” can be a bit clearer if you say “read_line() is returning a Resul...
New
The build_corridors function introduces the sort_by utility in Vec. The call appears like this:
rooms.sort_by(|a,b| a.center().x.cmp(&am...
New
Variable let offset = Point::new(camera.left_x, camera.top_y); is being instantiated inside of the 2 nested for loops, despite the fact t...
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.