5 ms·
+k lines of libdill.c
by irundebian 9y ago
+k lines of libdill.c
- wereHamster 9y ago… and don't forget libc!
- taneq 9y agoYou can't conflate using a special-purpose library with using a fundamental dependency like libc. It's like claiming you "rewrote Quake in 2 lines" then posting a .bat file with the contents "echo Starting quake lol...\r\nquake.exe"
- rootlocus 9y ago... and don't forget the OS. It's a deep rabbit hole.
- z3t4 9y agoIt's all abstractions and sometimes concretions. Then there's leaky abstractions where you need to know details of the implementation in order to use it.
- squarefoot 9y agoActually one could go without that library and code would not be that much bigger. To me it seems it provides an easier way to open secure pages through TLS, but if all one needs is sockets communicating each other, then the usual network libraries are more than enough. Ages ago I've written C network code under Linux that compiled and run under Windows just by changing a couple lines. Not sure if that would be doable today though: at that time Microsoft was forced to include a POSIX compatibility layer, and Winsock itself was not that far from the classic UNIX implementation.