4 ms·
When this article came out in March, I tried Swift and TensorFlow on both macOS and Linux - no problems but it seemed like early days, something to check in on
by mark_l_watson 8y ago
When this article came out in March, I tried Swift and TensorFlow on both macOS and Linux - no problems but it seemed like early days, something to check in on occasionally.
EDIT: there is a new drop for macOS from April 18 which I am now downloading.
I really like modeling with TensorFlow but I have a like-sometimes/hate relationship with Python. If Swift support gets stable and well supported then that would float my boat.
- ahurmazda 8y agoLikewise, I tried _swift_ back when it was first announced. I had trouble finding tools in standard library to handle simple FILE operations. There are many resources on using PythonInterops to get the job done. But kinda defeats the purpose. Maybe these are early days. That said, I remain optimistic given Jeremy's involvement — he/Rachael/fastai's been nothing but a source of good for ML in general.
- saagarjha 8y agoYou have access to all of libc and Foundation; was this not enough for you?
- ahurmazda 8y agoI am familiar with libc (I will have to look up Foundation). My opinions were based on cursory browsing at best. To be clear, coming from mostly python/c++, I was looking for something like `import pathlib` or `#include <filesystem>`. Lot of modeling work I do involves boring things like moving files around, plotting them etc. Again, its likely that I did not look around enough.
- saagarjha 8y agoYeah, you are probably looking for Foundation.