Using a neural network implementation as a teaching tool for intermediate Rust ā feedback welcome
ā Rust š 2026-02-05 š¤ surdeus šļø 6Iām experimenting with whether implementing a small neural network engine can be a good teaching artifact for intermediate Rust concepts.
The project intentionally avoids external crates and focuses on:
- flat memory layouts for tensors
- explicit indexing math
- simple, readable implementations over abstractions
The ML side exists mainly to force concrete design tradeoffs.
Iād appreciate feedback specifically on:
⢠API boundaries
⢠ownership/borrowing choices
⢠where this stops being idiomatic Rust
⢠whether this approach clarifies or obscures Rust concepts
Guide + code walkthrough:
1 post - 1 participant
š·ļø Rust_feed