Reasons ZIO is awesome: retriesSometimes we ask a computer do to something, but it fails to do it. Sad, but we’re clever! We’ll just try again and hope for the best! It’s amazing (depressing?) how often this solves the problem. Industrial-strength retries But there’s not just one ...6 min read·lachlan.hashnode.devOct 5, 2024
scala-uv v0.0.2I've published v0.0.2 of scala-uv, "Artisanal, handcrafted Scala Native bindings for libuv". Documentation There's now some API docs, with links to the corresponding libuv docs for each function. The readme also now has details about how scala-uv rep...4 min read·lachlan.hashnode.devFeb 6, 2024
Every Argument for Static Typing Applies to Typed ErrorsThis was originally published in February 2022 as a gist. Think of all the arguments you've heard as to why static typing is desirable — every single one of those arguments applies equally well to using types to represent error conditions. An odd th...16 min read·lachlan.hashnode.devJan 14, 2024
Using a C library from Scala NativeGoing deep on a non-trivial library14 min read·lachlan.hashnode.devJan 7, 2024