Originally posted by anda_skoa
View Post
Announcement
Collapse
No announcement yet.
Systemd Looking At A Future With More Varlink & Less D-Bus For IPC
Collapse
X
-
Originally posted by fitzie View Post[...] we use to write shell scripts that could just ifconfig | grep sed etc..[...]
systemd has been a godsend when it comes to system management as it eliminates tons of hacky script guesswork. More varlink support enables non hacky script work, if it's needed, as it is easily accessible and there are tons of tools available (hello jq).
- Likes 4
Comment
-
Originally posted by coder View Postsystemd didn't just use dbus, they actually re-implemented it, presumably to avoid certain things they didn't like about libdbus. One thing I'll say for their sd-bus implementation is that it includes built-in support for the introspection interfaces, which makes it an absolute dream when using something like Python.
Anyway, most application authors are just using the reference implementation 🤦♂️
- Likes 1
Comment
-
Originally posted by fitzie View Postthose midlayer tools are suppose to be the command line interface to systemd, but they suck (by design) for scripting.
Their authors might have just had different use cases in mind.
One good thing about the availability of the lower level APIs is that somebody with different use cases can create their own tools.
Not necessarily you in particular but somebody who has the same use case or wants to support it more directly.
- Likes 3
Comment
-
Originally posted by LtdJorge View PostAnyway, most application authors are just using the reference implementation 🤦♂️
In case of desktop services and applications usually the GLib or Qt bindings as they provide much nicer API than the low level reference implementation.
Essentially it mostly boils down to whether it is easier for language/framework to wrap the low level C API or do socket communication directly.
- Likes 2
Comment
-
Originally posted by access View Post
Those were horrible days... especially ifconfig since it's been deprecated for decades and had really bad output to parse if for even simple things.
systemd has been a godsend when it comes to system management as it eliminates tons of hacky script guesswork. More varlink support enables non hacky script work, if it's needed, as it is easily accessible and there are tons of tools available (hello jq).
- Likes 1
Comment
-
Originally posted by coder View PostIMO, the main place where unsigned integral data types are truly defensible is for bit masks, in which case you also need to know the range.
Speaking from experience, AutoHotkey doesn't support unsigned 64-bit ints (everything is 64-bit signed integer), exactly like this. It creates a plethora of annoyance when dealing with true 64-bit unsigned ints.
Comment
Comment