5 ms·
Where was the simple software that does one thing well? Did it ever exist? I'd believe you if Docker was some elegant, tiny, well-written tool, and systemd was
by geofft 12y ago
Where was the simple software that does one thing well? Did it ever exist?
I'd believe you if Docker was some elegant, tiny, well-written tool, and systemd was a bloated mess of AbstractLinuxContainerFactoryImpls. But as far as I can tell, Docker is the thing that is neither simple nor does its one thing particularly well, and systemd implements this straightforwardly, because of all things you might want to do, booting a system is kind of easier if you're already an initsystem.
If systemd decides to implement WebGL or take on Sublime Text, let's talk, but these 200 lines of C don't seem like a reason to believe that we've moved away from simple software that does things well:
http://cgit.freedesktop.org/systemd/systemd/commit/src/import/import.c?id=72648326ea6d3e68cdb0b5890df737047d031a41 http://cgit.freedesktop.org/systemd/systemd/commit/src/impor...
- lvh 12y agoThe entire diff being discussed isn't just about import.c, but a bunch of other things too. For example, to get it to do something interesting, you also want import-dkr.c. Add it all up, and we're talking 2000, not 200, lines of C: http://cgit.freedesktop.org/systemd/systemd/commit/?id=72648326ea6d3e68cdb0b5890df737047d031a41 http://cgit.freedesktop.org/systemd/systemd/commit/?id=72648...
- geofft 12y agoOops. I got confused by gitweb's interface... thanks. I have some opinions, mostly negative, about new C code, but even so it doesn't seem all that bad by UNIX standards. The bulk of the stuff I missed mostly looks like it's about connecting to the Docker registry and linking to libcurl, and this is about as big as I'd expect for C.