3 ms·
Yes! Swift is supported in Google Colab, and as a Jupyter kernel: https://github.com/google/swift-jupyter https://github.com/google/swift-jupyter.
by dynamicwebpaige 8y ago
Yes! Swift is supported in Google Colab, and as a Jupyter kernel: https://github.com/google/swift-jupyter https://github.com/google/swift-jupyter.
- skwb 8y agoWhat is the plotting experience like though? As I previously mentioned, plotting is one of the main reasons our group uses python. Another reason now that I think about it, is the number of scientific libraries that I can just "pip install" without much thought (such as scipy/opencv).
- marcrasi 8y agoYou can call out to matplotlib (or any other python libraries installed on your system), using the python interop feature (https://github.com/tensorflow/swift/blob/master/docs/PythonInteroperability.md https://github.com/tensorflow/swift/blob/master/docs/PythonI...)! https://github.com/google/swift-jupyter#rich-output https://github.com/google/swift-jupyter#rich-output has an example with screenshots.
- Redoubts 8y agoOof