5 ms·
Likely the strong generics while still being terse and inbuilt functional methods on collection types. Also being able to add extensions to any class is super
by roskilli 11y ago
Likely the strong generics while still being terse and inbuilt functional methods on collection types. Also being able to add extensions to any class is super helpful.
- petershirley 11y agoYa I think you got it. I just dabbled with swift and wrote my experiences here: http://psgraphics.blogspot.com/2014/09/inheritance-for-swift-ray-tracer.html?m=1 http://psgraphics.blogspot.com/2014/09/inheritance-for-swift...
- K0nserv 11y agoI've also been writing a ray tracer in Swift. Would love to look at yours if it's Open Source. The core rendering logic for mine is here[0]. I also started building a .obj loader for Swift[1]. Will definitely be buying the book. 0: https://github.com/k0nserv/SwiftTracer-Core https://github.com/k0nserv/SwiftTracer-Core 1: https://github.com/k0nserv/SwiftObjLoader https://github.com/k0nserv/SwiftObjLoader