A tiny sliver of hell froze over: https://postmarketos.org/blog/2024/03/05/adding-systemd/
>Is Alpine cool with this?
(Most likely) absolutely not, but please keep going
A tiny sliver of hell froze over: https://postmarketos.org/blog/2024/03/05/adding-systemd/
>Is Alpine cool with this?
(Most likely) absolutely not, but please keep going
@dragoonaethis that's just one person from the Alpine dev team right?
...it appears I need to eat my words: https://social.treehouse.systems/@ariadne/112044941290779320
@icedquinn @dragoonaethis @lanodan
In practice systemd is pretty good.
I think its design is bad in principle, but the only practical concer I see is that a lot of software will start relying on its APIs. Judging by the postmarketOS blogpost, that ship has already sailed.
@lanodan @dragoonaethis
Also @icedquinn if you don't like it that pmOS or alpine folks no longer want to maintain these adapters then go and maintain them yourself.
I agree they should exist, but I totally underatand people getting tired of maintaining them.
@icedquinn @dragoonaethis @lanodan
clarification: I don't actually think pipewire is trash.
It's quite impressive what it can do, and I'm sure a lot of work went into it.
Still, the code is full of weird object-oriented boilerplate with factories and stuff, which I find painful to read. I'm told people who are used to reading gstreamer source code find this easier. Still, pulseaudio code is way more readable in comparison.
@icedquinn @dragoonaethis @lanodan pipewire is trash, have you seen the sourcecode?
@icedquinn @dragoonaethis @lanodan
Ok, now look at Linux kernel. Or wlroots. Or something from OpenBSD, eg. OpenSMTPD.
They have some objects, with some inheritance, and and some of those have virtual methods.
They also have generic collection types.
And you know what? There's nowhere near as much boilerplate as there's with gobject.
Because they have a few macros.
@icedquinn @dragoonaethis @lanodan
WDYM?
No container_of?
@icedquinn @dragoonaethis @lanodan
Well, and a lot of good judgement on what macros to make.
@icedquinn @dragoonaethis @lanodan
like, how do you write a driver without using this: https://kernelnewbies.org/FAQ/LinkedLists
@icedquinn @dragoonaethis @lanodan
ok but like
did you have a double-linked-list anywhere in the code?
Normally in Linux kernel when you need a list, you include struct list_head inside your struct that you want to keep on the list.
Then when you retrieve something from the list, you get a pointer to the struct list_head, and you use container_of to get at your own struct that contains the list_head
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.