HEhuda elhadyinhudaios.hashnode.dev·Mar 7 · 3 min readSwift: Copy on Write Automatic vs ManualFor a long time I thought CoW happens automatically in Swift and I found that this is not entirely correctAutomatically CoW:so for array, dictionary, set, string and data it happens automatically // a00
SPSeng Phrakonkhaminiosopt.hashnode.dev·Apr 22, 2025 · 3 min read Statless? Decoupled? Think Again. The Real cost of Combine in Complex systemNOTE: This article will be available under https://sengdev.com/blog/ After exploring Swift’s recommendation to “use struct by default,”I started thinking about how this impacts data ownership, freshne00
SPSeng Phrakonkhaminiosopt.hashnode.dev·Apr 20, 2025 · 2 min readStruct vs Class in Swift: Understanding the Real Tradeoffs Behind the RecommendationNOTE: This article will be available under https://sengdev.com/blog/ Swift recommends struct by default – but why? Let's explore the hidden logic behind value semantics, Copy-on-Write (COW), and real-00
SPSeng Phrakonkhaminiosopt.hashnode.dev·Mar 26, 2025 · 5 min readSwift's Let vs var: Beyond immutable vs mutableNOTE: This article will be available under https://sengdev.com/blog/ What is the real difference between let and var in swift? The first and the usual answer is: The let is immutable, the var is mutab00
OEObiajulu Ezikeinde-marauder.hashnode.dev·Mar 14, 2024 · 20 min readWhat’s in a Container ImageIn a previous article, I wrote about how a container works and how we could go about creating one. It was shown that the container environment required specific files or better yet, a filesystem to function properly. Container images are an attempt t...00