Why does everybody use tcp ports instead of file sockets for local communication?
> Why does everybody use tcp ports instead of file sockets for local communication? In my experience it's because Windows and mac developers aren't aware of local file sockets. Windows API, in particular, doesn't have a similar concept if I recall.
Userspace FUSE for macOS
31–40 of 137 posts
Re: Userspace FUSE for macOS
#32Why does everybody use tcp ports instead of file sockets for local communication?
Re: Userspace FUSE for macOS
#33Why does everybody use tcp ports instead of file sockets for local communication?
Unix domain sockets have a severe limitation that the path must be a maximum 108 characters.
Re: Userspace FUSE for macOS
#34Hopefully they’ll open those APIs up for 3rd party usage on the Mac next year.
Re: Userspace FUSE for macOS
#35Earlier quoted context omitted.
Unix domain sockets have a severe limitation that the path must be a maximum 108 characters.
Sure, but all these services listening on ports, sometimes not even bound to localhost is just shitty. There's no authentication. and it's actually a huge contributor to database dumped online. Besides the security, ease of selecting a path vs a free port, it's also faster
Re: Userspace FUSE for macOS
#36Why does everybody use tcp ports instead of file sockets for local communication?
> Why does everybody use tcp ports instead of file sockets for local communication? In my experience it's because Windows and mac developers aren't aware of local file sockets. Windows API, in particular, doesn't have a similar concept if I recall.
Re: Userspace FUSE for macOS
#37Why does everybody use tcp ports instead of file sockets for local communication?
2 guesses: ignorance, and an assumption that using tcp allows for seamless transition to another host.
I guess full stack developers means people who can read the top 5 lines of a stack trace
Re: Userspace FUSE for macOS
#38Why does everybody use tcp ports instead of file sockets for local communication?
Re: Userspace FUSE for macOS
#39Why does everybody use tcp ports instead of file sockets for local communication?
> Why does everybody use tcp ports instead of file sockets for local communication? In my experience it's because Windows and mac developers aren't aware of local file sockets. Windows API, in particular, doesn't have a similar concept if I recall.
Re: Userspace FUSE for macOS
#40macOS really needs a decent FUSE implementation. That and some sort of container story. Such a shame that it's not really open source. The idea of using NFSv4 is awesome though.
Really FUSE should be implemented in the kernel itself, it was meant to do so, a kernel-side layer to allow implementing a filesystem userspace efficiently. When they created fuse NFS already existed, and if they decided to create a new protocol and add it to the kernel, rather that something on top of NFS or directly exposing a NFS server in applications, a reason maybe existed right?
Not having a stable FUSE implementation is one of the many reasons that made me abandon macOS and return to the combination of Windows and Linux. Even Windows has a mostly decent open-source FUSE implementation!