Becoming a parent filled the author with deep love but also with constant, exhausting boredom. He learned that boredom is a natural, important feeling that teaches us about life and ourselves. Instead of running from it, we should face boredom to find meaning and grow.
-
The State of Async Rust: Runtimes #
, 4 highlightsBy doing so, one would set up a work-stealing, multi-threaded runtime which mandates that types are
Sendand'staticand makes it necessary to use synchronization primitives such asArcandMutexfor all but the most trivial applications.The choice to use
ArcorMutexmight be indicative of a design that hasn’t fully embraced the ownership and borrowing principles that Rust emphasizes. It’s worth reconsidering if the shared state is genuinely necessary or if there’s a simpler design that could minimize or eliminate the need for shared mutable state (for instance by using channels).Traditional arguments against threads simply don’t apply to Rust. Threaded code in Rust is protected from data races, null dereferences, and dangling references, ensuring a level of safety that prevents many common pitfalls found in other languages.
-
Type out the code #
, 3 highlightsI find that functionally inarticulate people, almost to a person, don't pay attention to details like these because you can't separate the small stuff from the big stuff: when you skimp on getting details correct that bleeds into everything you do and you begin to get the big picture wrong, too.
Cloning a battle-tested open source project created for that very purpose is faster, cheaper, and more reliable than asking an agent to do the same
When we decide that small frictions (like remembering a name) are not worth surmounting we eventually decide that bigger frictions (like scrutinizing tests) are also not worth surmounting.