How memory is laid out and how to use pointers to interact with C code. Main focus is on MemoryLayout and UnsafePointers in Swift. Twitter: https://twitter.c... (more…)
Read more »
Do you think Swift structs are safe? This video may change your mind. “Structs should be the default choice” and “Only use classes when necessary” is common advice but might be misleading. We’d like to show you a different way of looking at the “Structs v... (more…)
Read more »
CollectionOfOne is a type inside the Swift Standard Library that defines a <b>collection of a single element.</b> While this sounds a bit weird, there's a good reason for this to exist. Let's check out why. (more…)
Read more »
Over the past year I have been evolving an app architecture where functional reactive paradigm is an equal-class citizen. The architecture… (more…)
Read more »
Astronomers measured the light produced when a sun-like star wandered too close to a 3-million-solar-mass black hole similar to the one at the center of our own galaxy. (more…)
Read more »