I’m working through the online book Crafting Interpreters, (which I highly recommend, if you’re curious about how such things are built). While going through it, I’m making a stab at translating the example code in the book (which is in Java) into Swift. This is not something I’m very familiar with, so I’m trying aContinue reading “Translating Java Into Swift”
Category Archives: Ranting and Reflections
Iterating through Strings in Swift
I recently decided to dive into a new bit of learning – creating my own software language interpreter. No, I’ve not gone stark raving mad due to COVID isolation, it is an interesting challenge that I wanted to understand better. Over a year ago, I remember Gus mentioning the process of creating an online bookContinue reading “Iterating through Strings in Swift”
Nested Observable Objects in SwiftUI
This one often starts with the phrase: Hey, why isn’t my view updating? It shows the initial data, but it doesn’t update when that data gets changed! … more than one person, including me … When you get into seeing the code for the view, how it’s formed, and what the models look like, youContinue reading “Nested Observable Objects in SwiftUI”
Integrating SwiftUI Bindings and Combine
A misconception I had when first learning SwiftUI and Combine was that SwiftUI relied on Combine alone for updating data. There was a throw-away comment in one of the 2019 WWDC presentations (Data Flow through SwiftUI) relating the two, and I over-interpreted it to mean that SwiftUI solely used Combine. To be very clear –Continue reading “Integrating SwiftUI Bindings and Combine”
The evolution of “safe” and “unsafe” in the Swift programming language
There’s been a lot of motion in the last four months of the evolution of the Swift programming language that I’ve been wanting, waiting, and hoping for. The language maintainers are tackling concurrency as a first-class construct in the language. I’m following along with the language evolution proposals in the forums, and so far haveContinue reading “The evolution of “safe” and “unsafe” in the Swift programming language”
M1 arm64 native OpenSSL with vcpkg
This article isn’t a how-to so much as a debugging/dev diary entry for future-me, and any other soul who stumbles into the same (or similar) issues. Let me provide the backdrop for this story: I’m working on a private C++ language based project, previously written to be cross platform (Windows, Linux, and Mac). It hasContinue reading “M1 arm64 native OpenSSL with vcpkg”
Priming and Pedagogy
A new year’s wander through a machine learning research paper led me down a really interesting rabbit role. Somewhere down the hole, I found a reference and have since been reading Thinking Fast and Slow, by Daniel Kahneman. The book was referenced by several AI/ML researchers, which is what got me started there. Chapter 4,Continue reading “Priming and Pedagogy”
Apple’s M1 Chip Changes… Lots of Things
The new Apple Macs with an M1 chip in them is finishing a job that started a few years ago: changing my assumption that commodity hardware would always win. Having worked in the technology/computing field for over 30 years, you’d think I know better by now not to make such a broad assumption, even internally.Continue reading “Apple’s M1 Chip Changes… Lots of Things”
Thanksgiving 2020
This has been a right 🤬 of a year, and that probably applies to most anyone else on this globe. In the US, the stress of this presidential election was extreme, and acerbated by COVID pandemic that we pretty much failed to get any sort of handle on. I’ve managed to stay tucked down andContinue reading “Thanksgiving 2020”
Combine and Swift Concurrency
Just before last weekend, the folks on the Swift Core Team provided what I took to be a truly wonderful gift: a roadmap and series of proposals that outline a future of embedding concurrency primitives deeper into the swift language itself. If you’re interested in the details of programming language concurrency, it’s a good read.Continue reading “Combine and Swift Concurrency”