SHA-1 Hash: BA2DBDE93D1AC56EBBE2E9C7EF6B67232CD84F0B
Swift Property Wrappers
From now on with each new version of Swift that comes out I'm going to take some time a dig through all the Swift Evolution Proposals that made it into that release. Some real gems made it into the last few releases that I didn't know anything about but are really cool. The one I'm … Continue reading Swift Property Wrappers
Fastest Way To Get The Time
So, for my 6502/6510 emulator project I've been trying to figure out the best (read that, "fastest") way to get the time with nanosecond resolution. I need this because the North American version of the Commodore 64 ran at 1.02MHz (1,022,727Hz) and so that means the clock "ticks" every 977.8 nanoseconds. And that's just for … Continue reading Fastest Way To Get The Time
Swift 5.3 for Raspberry Pi 4
Here is a build of Swift 5.3 for the Raspberry Pi 4 running Ubuntu Mate 20.04. See my post about the Odroid C2 for installation instructions. USE AT YOUR OWN RISK!!! I provide absolutely no warrantee with this at all! Swift 5.3 for the Raspberry Pi 4: https://www.dropbox.com/s/7l39d5df1zvbkm8/swift5.3-aarch64-rpi4-ubuntu-linux-20.04.tar.bz2?dl=0
Galen’s 2020 Birthday/Christmas List
Everyone is always asking me what I want for my birthday or Christmas and I can never think of anything when they ask me so I'll just put links here when I see something I want and they can pick and/or choose. 😎 My Wishlist on Amazon: https://www.amazon.com/hz/wishlist/ls/SAJJYB09D8UA?ref_=wl_share
Swift 5.3 on Odroid C2
As promised, here's the link to the build of Swift for the ODROID C2. This build was done on Ubuntu 20.04. Your results on other platforms/distros will most certainly vary. USE AT YOUR OWN RISK - I provide absolutely NO WARRANTY, implied or otherwise, with this what so ever. EDIT: 2020-09-22 - You will probably … Continue reading Swift 5.3 on Odroid C2
Swift on an Odroid C2
Over the weekend I managed to get a build of Swift working on the Odroid C2 SBC. As soon as I get a chance I'll TAR up the build and put it up on Dropbox. The build for the Raspberry Pi is still compiling. Here's the little sample program I wrote to test it out. … Continue reading Swift on an Odroid C2
SwiftSyntax
I am really going to have to start playing around with the SwiftSyntax library! It looks like I'd be able to write some real code timesavers with it.
Swift Struct vs. Class
I've been having a tough time in Swift with the Struct vs. Class issue. Unlike Java and Objective-C, Swift allows value type "classes" known as Struct types. These behave very similar to C++ objects that are created without dynamic memory allocation - in other words they're created on the stack instead of the heap. This … Continue reading Swift Struct vs. Class
What in the Hell is a Grapheme Cluster?
In my previous post I talked about Swift's handling of strings and the problems making the characters of a string randomly accessible because of Swift Strings being Unicode compliant. Another part of the issue, and the reason that we can think of Characters in Swift as just Strings in and of themselves, is the concept … Continue reading What in the Hell is a Grapheme Cluster?