Explore >> Select a destination


You are here

azdavis.net
| | recursion.wtf
4.7 parsecs away

Travel
| | This is a post about writing elegant and performant recursive algorithms in Rust. It makes heavy use of a pattern from Haskell called recursion schemes, but you don't need to know anything about that; it's just an implementation detail. Instead, as motivation, I have benchmarks showing a 14-34% improvement over the typical boxed pointer representation of recursive data structures in Rust.
| | thume.ca
4.0 parsecs away

Travel
| | [AI summary] This blog post by Tristan Hume details his experience writing a compiler for a course project using Rust. He discusses various aspects of the project including the use of Rust's powerful enums and pattern matching, handling variable and type resolution, reference counting with Rc, code generation for x86 assembly, and the use of usercorn to run Linux binaries on macOS. The post also reflects on the challenges and benefits of using Rust for such a project, comparing it with other languages and design decisions.
| | hurryabit.github.io
3.5 parsecs away

Travel
| | I demonstrate how to (ab)use generators to transform any recursive function into an iterative one with nearly zero code changes.
| | ceronman.com
25.4 parsecs away

Travel
| Last year I finally decided to learn some Rust. The official book by Steve Klabnik and Carol Nichols is excellent, but even after reading it and working on some small code exercises, I felt that I needed more to really understand the language. I wanted to work on a small project to get some hands-on...