4 ms·
I thought this was going to be a link to [1], from a talk given at Swift Summit a couple days ago. I haven't really looked at the code for either one to compare
by e28eta 10y ago
I thought this was going to be a link to [1], from a talk given at Swift Summit a couple days ago. I haven't really looked at the code for either one to compare them, but for people who are interested, here's a second simple genetic algorithm in Swift (found in RubikSwift/GeneticsSolver.swift)
https://github.com/JaviSoto/RubikSwift https://github.com/JaviSoto/RubikSwift
- nojvek 10y agoSwift looks a lot like Typescript. This is the first time I've read swift code and I'm taken by surprise by its elegance. I'm gonna give it a shot
- melling 10y agoHere's a little Swift Cookbook to get more of a flavor: http://www.h4labs.com/dev/ios/swift_cookbook.html http://www.h4labs.com/dev/ios/swift_cookbook.html
- bsaul 10y agoswift is a fantastic language, but it's absolutely not as mature as other language you're probably used to. In particular, you may experience a lot of compiler crash, typing bugs, and very bad compile time. But i'm 100% certain it's going to be one of the most used language server side in the coming years.