Originally posted by tomegun
View Post
Announcement
Collapse
No announcement yet.
Systemd Is Working Towards Its Own Super Fast DHCP Server, Client
Collapse
X
-
Originally posted by justmy2cents View Postwhile i agree on most, last 3 remarks are valid for unix, not linux. only people who didn't realized that fact, promote them. linux would already break all those 3 rules by monolithic kernel.
Separation of concerns is not Unix philosophy, it is a general design principle.
Single responsibility principle is not Unix philosophy, it is a object-oriented design best practice.
Comment
-
Originally posted by uid313 View Post"Do one thing and do it well" is Unix philosophy.
Separation of concerns is not Unix philosophy, it is a general design principle.
Single responsibility principle is not Unix philosophy, it is a object-oriented design best practice.
I don't get it.
Comment
-
Originally posted by uid313 View Post"Do one thing and do it well" is Unix philosophy.
Separation of concerns is not Unix philosophy, it is a general design principle.
Single responsibility principle is not Unix philosophy, it is a object-oriented design best practice.
but, more importantly, was any of those... founding principle of linux which must be followed? kernel would disagreeLast edited by justmy2cents; 03 April 2014, 10:01 AM.
Comment
-
Originally posted by erendorn View PostAnd so "1 binary for 1 purpose" is somehow in contradiction with these principles?
I don't get it.
It is not limited to Unix only.
This is for Linux (and all other high quality projects) to follow.
Comment
-
Originally posted by uid313 View PostNo, but my point is that it is not just some Unix thing.
It is not limited to Unix only.
This is for Linux (and all other high quality projects) to follow.All opinions are my own not those of my employer if you know who they are.
Comment
-
Originally posted by TAXI View PostYou might want to read: http://www.johndcook.com/blog/2010/0...y-breaks-down/
stream piping in command line is just oldest trick in the book
microkernel for example... each module follows exactly "do one thing and do it well" while communication follows its internal protocol on how to dispatch data
various ipcs, where i'll name dbus... offers introspective data communication from one app to another and with kdbus when we get 0copy this will be even more so effective way to follow that rule since it will enable to pass large data without tragic loss of performance to follow unix rule
now, funny thing is if you look at systemd as you should. but, 1st the problem of systemd where this article actually gave me other idea on the problem
1st and most common misconception is the part where project was unfortunately named really poor, there is project called systemd and pid1 called systemd which often leads to confusion to anyone who didn't delve deeper to not know which one they refer to. just naming project something like systemd-project would avoid that naming inconsistancy, since it would contain systemd subproject which is actually pid1. other like networkd, hostnamed would then become visible as separate services. so, how could anyone right now discern this title "systemd implementing someultraserviced"? by normal, in head it connects to pid1 unfortunatelly instead of project since he runs systemd. that is why so many people think systemd-journald is something they are forced to run, instead of thinking... hey, it's a service i can disable it http://forums.fedoraforum.org/showthread.php?t=292543
now, the 2nd funny part once you understand the naming misfortune
- systemd pid1 is actually pretty small and has exact plan on what it does and what it doesn't. ok, that's more or less unix like
- services (at least most up until now) publish dbus spec of how they behave and what they do to serve exact following of unix principle
as far as i see there is only one problem present in systemd beside poorest naming of the project. no clear definition when do you stop reinventing the wheel under systemd services umbrela
Comment
-
Originally posted by TAXI View PostYou might want to read: http://www.johndcook.com/blog/2010/0...y-breaks-down/
Originally posted by Neil BrownOne of the big weaknesses of the "do one job and do it well" approach is that those individual tools didn't really combine very well. sort, join, cut, paste, cat, grep, comm etc make a nice set of tools for simple text-database work, but they all have slightly different ways of identifying and selecting fields and sort orders etc. You can sort-of stick them together with pipes and shell scripts, but it is rather messy and always error prone.
Comment
-
Originally posted by justmy2cents View Postactually, that article is flawed BS
Originally posted by justmy2cents View Postauthor assumes "ls | grep something" as the only implementation of "do one thing and do it well".
now, funny thing is if you look at systemd as you should.
1st and most common misconception is the part where project was unfortunately named really poor, there is project called systemd and pid1 called systemd which often leads to confusion to anyone who didn't delve deeper to not know which one they refer to.
Anyway, one more article why Unix philosophy is broken: http://lwn.net/Articles/576078/
Comment
Comment