Re:Why Reliability Demands Functional Programming
by yobbo on Sunday December 28, 2025 @04:00PM
(#46414451)
Db access in rust typically needs some sort of handle and a mutex. Limiting access to the handle makes the rest of the code pure with respect to the db. The handle plays a similar role to the IO type.
Actor-like patterns makes this nice. Message-objects can be passed to/from a module with db-access or other io.
Actor-like patterns makes this nice. Message-objects can be passed to/from a module with db-access or other io.