Evan
brucemcrooster.dev
Evan
@brucemcrooster.dev
Student, developer, runner, and technology enjoyer
If you stick with just Swift, you may never appreciate how easy it makes some things. But if you get experience in other languages, you’ll have moments of “wow, that was that easy?” often when you start doing more complicated string stuff.
November 5, 2025 at 12:07 AM
Swift throws you in the deep end, which is annoying for basic things, but the upside is that things that would cause you headaches in more advanced string processing are a very similar level of complexity.
Swift’s curve plateaus early, while other languages ramp up.
November 5, 2025 at 12:07 AM
Other languages that treat strings as arrays of UInt8s can make it really easy to work with basic ASCII, but you have to add more complexity as you tackle more advanced string processing.
November 5, 2025 at 12:07 AM
I completely agree that working with strings can feel like a headache. I jump out to [Character] or [UInt8] all the time to save myself the trouble.

I think it comes down to how Swift’s string learning curve compares to other languages.
November 5, 2025 at 12:07 AM
I’m working on a little project right now that uses tree-sitter, so you’ll probably see a few more issues and PRs before I’m done. Just trying to make open source better, one commit at a time!
October 19, 2025 at 10:47 AM
Thanks for saying something! That means a lot. Let me know if it needs anything else
October 19, 2025 at 10:36 AM
That looks great! Would love to see the code once you clean it up, because this is a really neat effect!
May 28, 2025 at 9:43 PM
Away from keyboard right now, but I wonder how far you could get with LazyHStacks and the `pinnedViews: [.sectionHeaders]` property.
May 28, 2025 at 4:11 PM
You can check out my code (not the prettiest), written in Swift, on GitHub.

github.com/BruceMcRoost...
GitHub - BruceMcRooster/aoc-2024: My code for Advent Of Code 2024, done in Swift
My code for Advent Of Code 2024, done in Swift. Contribute to BruceMcRooster/aoc-2024 development by creating an account on GitHub.
github.com
December 26, 2024 at 3:00 PM