3 ms·
Nitpick: Swift for TensorFlow currently is a fork of Swift, not a library implemented in Swift. https://github.com/tensorflow/swift https://github.com/tensorflo
by Someone 7y ago
Nitpick: Swift for TensorFlow currently is a fork of Swift, not a library implemented in Swift. https://github.com/tensorflow/swift https://github.com/tensorflow/swift:
”Compiler and standard library development happens on the tensorflow branch of the apple/swift repository.
[…]
Swift for TensorFlow is not intended to remain a long-term fork of the official Swift language. Language additions are designed to fit with the direction of Swift and will go through the Swift Evolution process.”
- neeeeees 7y agoThat is correct, and I should have made that clearer. However, a lot of it’s features are implemented in Swift (via custom operators, overloading etc) in addition to compiler intrinsics. The point I had in mind was that a language like Swift may allow for both power and DSL-like expressiveness without requiring learning an entirely new language. In fact, standard arrays are implemented in Swift code (https://github.com/apple/swift/blob/master/stdlib/public/core/Array.swift https://github.com/apple/swift/blob/master/stdlib/public/cor...) yet feel closer to say a Python list than a Java ArrayList from the user’s perspective.