On Wed, Nov 9, 2016 at 2:11 AM, Zac Medico <zmed...@gentoo.org> wrote:
> On 11/08/2016 10:44 PM, Daniel Campbell wrote:
>> On 11/08/2016 05:02 PM, Rich Freeman wrote:
>>> On Tue, Nov 8, 2016 at 7:54 PM, Patrick McLean <chutz...@gentoo.org> wrote:
>>>> On Tue, 8 Nov 2016 17:41:02 -0600
>>>> William Hubbs <willi...@gentoo.org> wrote:
>>>>>
>>>>> The plan, once the first release is out, is to rewrite this utility
>>>>> in a better language. I'm considering C, but if I am comfortable by
>>>>> that time in Go or Rust, I may use one of them.
>>>>>
>>>>
>>>> For a low-level utility that is likely going to be in the default
>>>> @system set, please use C. Adding dependencies on the go or rust
>>>> compilers for this is not very nice.
>>>>
>>>
>>> Assuming I'm looking at the right sources, the actual systemd
>>> implementation is only 2342 lines of C.  Glancing at the includes, I'm
>>> not convinced it even requires systemd to run.
>>>
>>> You might want to take a look at either just creating a split ebuild,
>>> or tweaking it to work standalone if necessary.
>>>
>> Is that including any headers and/or libraries shared by the systemd
>> umbrella?
>>
>
> It has a huge list of includes for internal libraries, from acl-util.h
> to util.h:
>
> https://github.com/systemd/systemd/blob/master/src/tmpfiles/tmpfiles.c

Also, it is linked against libsystemd-shared.so, which is a 2.1 M blob
on my system. For comparison, libc-2.23.so is 1.7 M.

Reply via email to