Accidental Functional Programming in Rust
summary
An open-source Rust library called Codeless Tools validates and standardizes clinical code lists at load time, returning a typed Result as value or a specific code-list error so mistakes surface before long runs. It uses enums for errors, iterator chaining and pattern matching to express pipelines without mutation, and exposes Python/R bindings so researchers call identical Rust logic. Real gains show up in practice — inspired by Polars, some workloads drop from 2 hours → 5 minutes.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:42Functional programming in Rust
- 13:37Functional chaining and iterators
- 17:07Error handling with enums
- 22:17Pattern matching for validation
- 27:55Q&A
- 32:50Code list sharing challenges
- 37:47Lessons learned and closing remarks
related talks
01h 00mRust for good: systems programming in Science and Public Health
40mHealthy Data, Rusty Code: Epidemiology Meets Modern Systems Programming
26mThe Freedom of Static Typing
34mGood or Bad Vibes? Coding with AI in Rust
58mRust for The Curious C++ Developers
39mFunctional Programming And the Real World
33mDeclarative programming in Rust
12mRust for competitive programming
