News for hackers. Stuff that matters.
Re:FreeBSD should not adopt launchd (2015) by saagarjha on Saturday November 07, 2020 @03:35AM (#25013841)
Yeah, I never really understood why you'd want to adopt launchd anywhere but macOS. It's pretty clear that launchd was designed for Mac OS X first and foremost, so a number of its semantics just don't really make sense anywhere else. As a toy it would be interesting to have around, but I doubt anyone would want to ship it in an official distribution.
Re:FreeBSD should not adopt launchd (2015) by arminiusreturns on Saturday November 07, 2020 @05:04AM (#25014185)
> Yeah, I never really understood why you'd want to adopt launchd anywhere but macOS.

Systemd took much of it's inspiration from launchd... at least I recall seeing this somewhere, but I could be wrong.

Re:FreeBSD should not adopt launchd (2015) by moonchild on Saturday November 07, 2020 @04:03PM (#25019330)
Yes, and pulseaudio was also heavily inspired by apple's coreaudio.
Re:FreeBSD should not adopt launchd (2015) by jsiepkes on Saturday November 07, 2020 @02:40AM (#25013690)
Besides this being a 2015 thing since Apple no longer provides the sources of launchd so I highly doubt this is still a thing.
Re:FreeBSD should not adopt launchd (2015) by ksec on Saturday November 07, 2020 @02:46AM (#25013704)
Do we known why Apple no longer provide the source?
Re:FreeBSD should not adopt launchd (2015) by pjmlp on Saturday November 07, 2020 @03:08AM (#25013759)
I guess MIT license freedom.
Re:FreeBSD should not adopt launchd (2015) by jcfields on Saturday November 07, 2020 @03:29AM (#25013823)
They wrote it, so they could close its source regardless of the license (which was actually Apache 2 and APSL before that).

It looks like 10.9 (released in 2016) was the last release on https://opensource.apple.com/ that included launchd. The original author left Apple in 2014, so maybe it had something to do with that (similar to why they abandoned MacRuby and CUPS), though one would think that they still update it internally.

Re:FreeBSD should not adopt launchd (2015) by vlovich123 on Saturday November 07, 2020 @04:53AM (#25014140)
They do. Launchd/Mach/xpc are still critical technology pieces that underlies every service and nearly every single framework (since most of them just delegate to a service).

It’s gotten smarter over the years. Launchd now supports complex Jetsam configuration parameters which let you specify RAM and CPU thresholds when your daemon is active and not (to be robust against memory leaks)

Re:FreeBSD should not adopt launchd (2015) by saagarjha on Saturday November 07, 2020 @03:30AM (#25013829)
Apple owns launchd, though, and it was available under APSL and Apache before going closed-source.
Re:FreeBSD should not adopt launchd (2015) by dlivingston on Saturday November 07, 2020 @03:00AM (#25013743)
Here’s an interesting lecture from the primary developer of launchd (which “launch’d”, pun intended, on Mac OS X Tiger) discussing its design goals and implementation: https://youtu.be/mLwn_TbBntI
Re:FreeBSD should not adopt launchd (2015) by bsder on Saturday November 07, 2020 @01:53AM (#25013583)
Can we get a 2015 tag on this, please?
Re:FreeBSD should not adopt launchd (2015) by dontbesquare on Saturday November 07, 2020 @02:00AM (#25013599)
Why? Please explain for those of us like me who don't understand.
Re:FreeBSD should not adopt launchd (2015) by CaliforniaKarl on Saturday November 07, 2020 @02:08AM (#25013620)
When something is posted that was not published in $CURRENT_YEAR, it is convention to add the year of publication, in parenthesis, after the title.

(Some leeway is provided during the first few months of $CURRENT_YEAR.)

Re:FreeBSD should not adopt launchd (2015) by seniorivn on Saturday November 07, 2020 @02:05AM (#25013614)
this article is a 5 year old argument in bsd dev community, it's impossible to know if it's relevant from an outside perspective