New week, new Rust! What are you folks up to?
On my agenda for this week is to work through code examples from various sources.
- The Rust Programming Language
- Quinedot's Learning Rust
- Code examples selected from this forum's help category
- Several other resources folks here have recommended
(also posted in the r/rust thread)
I've started drafting a Master's thesis using my retrofire
software rasterizer project as a case study. The research goal is to investigate how Rust's type system can be used to improve correctness and developer experience in a 3D rendering context while incurring minimal or zero performance overhead. Techniques and patterns implemented in retrofire
include:
- Distinguishing affine spaces from vector spaces (points from vectors)
- Type-tagging vectors, points, and colors by their coordinate space and basis
- Type-tagging matrices by their source and target spaces/bases
- Angular scalar and vector newtypes to avoid confusion between angle units
- Ownership-aware 2D buffers and slices.
1 Like
This looks promising as a cool project!