New version of XMLCoder is out, now supporting Linux with Swift 5.0.1 or later! Also, you can now decode enums with associated values (see screenshot). Thanks for the hard work to @drewag, James Bean and Ben Wetherfield πŸ‘ github.com/MaxDesiatov/XMLCode

Sometimes I feel a bit of frustration with the package management situation in : CocoaPods, Carthage, SwiftPM and Xcode integration, no binary packages etc. Then I spend a bit of time with the Python ecosystem and realize that Swift is doing pretty well after all πŸ˜„πŸπŸ¦…

Working with SwiftSyntax on a lower level, I start discovering things I didn't know were possible or made sense at all. Case in point: top-level computed properties 🀯

(Not that I plan to use this in my code, but I always expected something like this would be a compiler error)

has a dependency on an unreleased Swift 5.1 feature, check out this `@state` property attribute. This does look like the recently returned for revision Property Delegates proposal. Can safely bet it's gonna be accepted in some shape by fall 2019 github.com/apple/swift-evoluti

Remember when people were saying Microsoft would ruin ? I don't think that's exactly what's happening, especially with the new Sponsors initiative. I'm on the waitlist and I hope it would allow my open source projects to become sustainable πŸ™ github.com/sponsors

Super interesting approach to type checking in dhall-lang.org: you can request an explanation for any errors that will print a short related reference and full reasoning for the error 😯

If I were able to change only one thing about right now, I'd allow most statements (if not all of them) to be used as expressions. Would help so much with pattern matching nested values πŸ€“

I'm super excited to publish the first release of Tokamak: React-like framework for native UI written in pure Swift πŸ› βš›οΈπŸ“²

I've worked on this nights and weekends of the last 7 months (with a ton of help from Matvii Hodovaniuk πŸ™) πŸ‘¨πŸ»β€πŸ’»

Check it out here πŸ‘‡
github.com/MaxDesiatov/Tokamak

Getting closer to the initial release of my UI framework written in pure Swift based on React Hooks API. New milestone today: renderer for macOS πŸŽ‰ (there's already iOS renderer). You could potentially write apps for both UIKit and AppKit with a lot shared UI code (w/o Marzipan!)

I wish people creating new libraries for Promises/Futures in Swift spent as much energy and effort on research of alternative approaches (algebraic effects, coroutines, actors) and proposals/implementations for Swift Evolution. Why keep reinventing the wheel? Β―\_(ツ)_/Β―

Clang and LLVM (and Swift too as it's based on those projects) wouldn’t exist if C and C++ were β€œprotected by patents from patent trolls”, because then LLVM and Clang would infringe on those patents. Nothing bad happened to languages without patents, they’re doing perfectly fine. Java and Oracle on the other hand… πŸ™ˆ

I was happy with my 2018 MacBook Pro, I like TouchBar, I like how the keyboard feels. I also cleaned the keyboard as much as I could to avoid any dust destroying it, which  said shouldn't happen with 2018 model. None helped. 😱 Now I have to use this: github.com/aahung/Unshaky

TIL: never underestimate performance testing in XCTest: just found a significant performance regression in XMLCoder PR. πŸ€” Many thanks to Vincent Esche for providing the tests! πŸ‘ github.com/MaxDesiatov/XMLCode

Oh dear... Am I the only one who feels that CMake is not "the right way" to do cross-platform build systems? Don't we deserve something better? LLVM projects Y U NO use better build infrastructure? Why is there even a need to inject files "to suppress noisy CMake warnings"? 😣

Also ο£Ώ, while you're still here, please tell Xcode team I appreciate ability to run multiple simulators. Now my screen looks like this. Please ask them to implement compiling and running for multiple simulators in parallel w/ a single action? I promise I'll eat my broccoli! πŸ™

Super cool stuff: Google has recently open-sourced Jupyter Kernel implementation for Swift πŸŽ‰ Great alternative to Xcode playgrounds, especially if you're doing machine learning with PyTorch, scikit-learn, TensorFlow etc thanks to Swift 4.2 Python interop github.com/google/swift-jupyte

Prototyping lightweight UI framework inspired by React. So happy it stays close to React's good ergonomics, while still remaining type-safe Swift! 🀩 It has a potential of becoming cross-platform too: iOS, macOS, Android, whatever platform you'd need. Even WebAssembly some day πŸ˜„

Would anyone be interested in a shorthand Swift initializer syntax, where order of arguments doesn't matter? Would really help with initializers that have a ton of parameters πŸ€” forums.swift.org/t/record-init

I’m so jealous of what Rust people have achieved in such a short time! πŸ˜„ First they have a fully working WebAssembly compiler, now they have this… Want something like this for Swift so much! And look at the number of people who contributed πŸ‘ rustwasm.github.io/2018/09/26/ mastodon.social/media/F94CZwEO

Show more
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!