News for hackers. Stuff that matters.
Re:Embracing Swift for Deep Learning by ahurmazda on Sunday April 21, 2019 @07:39PM (#19715250)
Likewise, 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.

Re:Embracing Swift for Deep Learning by saagarjha on Sunday April 21, 2019 @08:00PM (#19715328)
You have access to all of libc and Foundation; was this not enough for you?
Re:Embracing Swift for Deep Learning by ahurmazda on Sunday April 21, 2019 @11:20PM (#19716222)
I 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.

Re:Embracing Swift for Deep Learning by saagarjha on Monday April 22, 2019 @12:19AM (#19716494)
Yeah, you are probably looking for Foundation.