DEV Community

Discussion on: Rust - first impressions

Collapse
 
bmitch profile image
Bill Mitchell

Was it hard to translate the Ray Tracer Challenge book to rust (assuming the book is not using rust)?

Looks like an interesting way to help learn a language.

Collapse
 
magnusstrale profile image
Magnus Stråle

Hi! The code in the book is very pseudo-code and rather procedural. It's not hard to get something working, but I've been struggling a bit with making it idiomatic Rust. Will put it on Github next week for the world to see ;)

Collapse
 
bmitch profile image
Bill Mitchell

Would love to see the code once it's up! Thanks!

Thread Thread
 
magnusstrale profile image
Magnus Stråle

Sorry for the excessive delay, but here it is - dev.to/magnusstrale/the-ray-tracer...