The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Luther Johnson <luther.johnson@makerlisp.com>
To: tuhs@tuhs.org
Subject: [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' The Register
Date: Tue, 18 Jun 2024 20:36:05 -0700	[thread overview]
Message-ID: <f7207069-0a89-f989-e93d-3a39d3109dba@makerlisp.com> (raw)
In-Reply-To: <f72ac02c-d28c-435a-9b03-64118ae232da@makerlisp.com>

[-- Attachment #1: Type: text/plain, Size: 5829 bytes --]

I think there is a parallel to the systemd discussion here, again. Both
CMake and systemd ask you to declare properties or qualities to be
ingested into the abstract model of the build or init problem, that is
their worldview, and then, the 'engine' will consume that and decide
what to do and how to do it. Whereas init scripts and makefiles say
exactly what to do when, and the abstract model of what is to be done is
in the mind of the author of the build or the init process. Makefiles
and init scripts are prescriptive, Cmake and systemd input are descriptive.

My problem with CMake has been that the abstract model that the CMake
engine has in mind was not docmented, to my satisfaction, or I couldn't
find the answers to questions I had. The 'algorithm' was not published,
so to speak, or I couldn't find it. Unless I read the CMake code and can
understand it well enough to predict what it will do. Maybe CMake
aficionados do just that, I don't know. To me, both systemd and CMake
seem much more opaque and mysterious. If I have to read the code for a
tool to use it effectively, that seems wrong to me. Maybe I just haven't
read the right books. Is there a 'nutshell' or similar book for CMake ?

These tools seem to have more complexity, and a different mission, then
/etc/rc or sysvinit scripts, or make. They are designed to solve a
problem that isn't a problem to me. I expect a little bit of human
attention to maintenance is required, for the actual problems I face,
not all possible problems, so that I could theoretically not ever know
how to solve those problems, because the tool would have done that for
me. If I could only learn the dark art of that tool.

On 06/18/2024 08:14 PM, Luther Johnson wrote:
>
> To be fair, makefiles are specifications in a build-tool specific
> language. But it is one language I already know, and it is one that
> seems to be well-formed, translates to very definite actions on
> conditions, and I get to choose those actions. I guess it works for me
> if I do my part, and I can't really see what CMake does for me that I
> can't do for myself.
>
> On 06/18/2024 08:07 PM, Luther Johnson wrote:
>>
>> I don't think any makefiles I've written do all of that. I guess I
>> don't expect all of that in one place. So i will have some makefiles
>> that are really portable, because they are very compute-bound or
>> their interface to the world is something else generic, like files.
>> And then for more platform-specific parts I would have different
>> makefiles for different platforms.
>>
>> One-button, one command-build (that seems) identical for all
>> platforms, is not that important to me. And yes, sometimes I write
>> scripts to do the parts of a build in sequence. And I don't consider
>> any of this 'hard', but I'm not trying make the builds look like they
>> are the same, even if they are really quite different. The GNU
>> ./configure, make model is one model. CMake and other makefile
>> generators are another. But I have used several compilers or other
>> general purpose tools that have more than one makefile or build
>> script, depending on the platform, and I just take the tool for what
>> it is, and use it. And when I have to debug or change something about
>> the build, it's MUCH easier to work with makefiles and build scripts
>> than it is to extend configure scripts, or extend a
>> build-specification in a build-tool-specific language. In my
>> experience, so far. But some people will get into configure and/or
>> CMake or any of the others and learn how to be productive that way.
>> More power to them, but I don't enjoy doing that. When I have had to
>> use CMake, it seemed to require more specification on my part to
>> generate all sorts of crufty state, so every build was not
>> necessarily the same, unless I used the right commands or deleted all
>> these extra directories full of persistence from the last CMake or
>> build, to write all these weird, generated, unreadablemakefiles
>> calling makefiles, doing no more than I could easily do by hand in
>> one makefile. No, my hand-written makefiles will not be absolutely
>> universal, or appear to be, but they will work in a way I can
>> predict, and that is of great value to me.
>>
>> On 06/18/2024 05:46 PM, Nevin Liber wrote:
>>> On Tue, Jun 18, 2024 at 7:09 PM Luther Johnson
>>> <luther.johnson@makerlisp.com <mailto:luther.johnson@makerlisp.com>>
>>> wrote:
>>>
>>>     I agree with Greg here. In fact even if it was well done, it is
>>>     declaring something that wasn't really a problem, to be a
>>>     problem, to
>>>     insert itself as the solution, but I think it's just extra stuff and
>>>     steps that ultimately obfuscates and creates yet more dependencies.
>>>
>>>
>>> That's a really bold claim.  You may not like the solution (I don't
>>> tend to comment on it because unlike some here, I recognize that
>>> build systems are a Hard Problem and I don't know how to make a
>>> better solution), but that doesn't mean it isn't solving real problems.
>>>
>>> But I'll bite.  There was the claim by Larry McVoy that "Writing
>>> Makefiles isn't that hard".
>>>
>>> Please show these beautiful makefiles for a non-toy non-trivial
>>> product (say, something like gcc or llvm), which make it easy to
>>> change platforms, underlying compilers, works well with modern
>>> multicore processors, gets the dependencies right (one should never
>>> have to type "make clean" to get a build working correctly), etc.
>>> and doesn't require blindly running some 20K line shell script like
>>> "configure" to set it up.
>>> --
>>>  Nevin ":-)" Liber  <mailto:nl
>>> <mailto:nevin@eviloverlord.com>iber@gmail.com
>>> <mailto:iber@gmail.com>> +1-847-691-1404
>>
>


[-- Attachment #2: Type: text/html, Size: 8480 bytes --]

  reply	other threads:[~2024-06-19  3:36 UTC|newest]

Thread overview: 174+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 14:56 [TUHS] Version 256 of systemd boasts '42% less Unix philosophy' • " Charles H Sauer (he/him)
2024-06-13 15:33 ` [TUHS] " Dan Cross
2024-06-13 15:35 ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' ??? " Larry McVoy
2024-06-13 15:41   ` Alan D. Salewski
2024-06-13 15:55   ` Steve Nickolas
2024-06-13 15:39 ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' • " Clem Cole
2024-06-13 16:47   ` Arrigo Triulzi via TUHS
2024-06-13 18:39     ` segaloco via TUHS
2024-06-13 18:45       ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' ??? " Mychaela Falconia
2024-06-14  8:59         ` Ralph Corderoy
2024-06-13 18:54       ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' • " Dan Cross
2024-06-12 19:29         ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' " Greg A. Woods
2024-06-13 20:03           ` Dan Cross
2024-06-13 17:07             ` Greg A. Woods
2024-06-14 14:17             ` Grant Taylor via TUHS
2024-06-16  5:48               ` Alexis
2024-06-15  8:48                 ` Greg A. Woods
2024-06-16 19:44                   ` Clem Cole
2024-06-17  0:10                     ` Peter Yardley
2024-06-17  0:29                       ` Clem Cole
2024-06-17  1:01                   ` Alexis
2024-06-17  1:21                     ` Warner Losh
2024-06-17  1:25                     ` Larry McVoy
2024-06-17  1:32                       ` Warner Losh
2024-06-17 19:21                       ` Stuff Received
2024-06-17 19:28                         ` Larry McVoy
2024-06-17 22:34                         ` Steve Nickolas
2024-06-16  7:57                           ` Greg A. Woods
2024-06-17 23:44                             ` Warner Losh
2024-06-18  0:06                               ` Larry McVoy
2024-06-18 22:44                               ` Greg A. Woods
2024-06-19  2:33                                 ` David Arnold
2024-06-18  1:52                             ` Steve Nickolas
2024-06-18  4:52                               ` segaloco via TUHS
2024-06-18 22:50                                 ` Greg A. Woods
2024-06-18 23:03                                   ` Warner Losh
2024-06-18 23:27                                     ` ron minnich
2024-06-19  1:38                                     ` Greg 'groggy' Lehey
2024-06-19  1:42                                       ` Warner Losh
2024-06-19 23:28                                         ` Greg A. Woods
2024-06-20  5:01                                           ` Scot Jenkins via TUHS
2024-06-20  5:09                                             ` Luther Johnson
2024-06-20  5:18                                               ` Luther Johnson
2024-06-20 18:34                                             ` Greg A. Woods
2024-06-20 18:41                                               ` Adam Thornton
2024-06-20 19:59                                                 ` Warner Losh
2024-06-20 20:12                                                   ` ron minnich
2024-06-20 20:22                                                     ` Adam Thornton
2024-06-20 20:29                                                     ` ron minnich
2024-06-21 15:46                                                     ` Chet Ramey via TUHS
2024-06-21 16:06                                                       ` Henry Bent
2024-06-21 16:24                                                         ` Chet Ramey via TUHS
2024-06-21 16:40                                                           ` Henry Bent
2024-06-21 16:52                                                             ` Warner Losh
2024-06-21 17:25                                                             ` Chet Ramey via TUHS
2024-06-21 17:31                                                             ` Phil Budne
2024-06-21 17:55                                                               ` Chet Ramey via TUHS
2024-06-20 20:19                                                   ` Clem Cole
2024-06-20 20:34                                                   ` Luther Johnson
2024-06-20 21:00                                                     ` ron minnich
2024-06-20 21:53                                                       ` David Arnold
2024-06-20 22:00                                                         ` ron minnich
2024-06-20 22:11                                                           ` Larry McVoy
2024-06-20 22:35                                                       ` Luther Johnson
2024-06-21 13:57                                                       ` Stuff Received
2024-06-20 19:57                                               ` [TUHS] Version 256.1: Now slightly less likely to delete /home Jim Capp
2024-06-20  8:05                                           ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' The Register Steve Nickolas
2024-06-19  2:38                                     ` David Arnold
2024-06-19 22:52                                     ` Greg A. Woods
2024-06-19  0:08                                   ` Luther Johnson
2024-06-19  0:46                                     ` Nevin Liber
2024-06-19  1:00                                       ` segaloco via TUHS
2024-06-19  3:07                                       ` Luther Johnson
2024-06-19  3:14                                         ` Luther Johnson
2024-06-19  3:36                                           ` Luther Johnson [this message]
2024-06-19  6:50                                           ` arnold
2024-06-19 11:28                                             ` sjenkin
2024-06-19  9:00                                         ` Ralph Corderoy
2024-06-19 13:28                                       ` Larry McVoy
2024-06-19 14:44                                         ` Warner Losh
2024-06-19 14:53                                           ` Larry McVoy
2024-06-19 15:08                                             ` Warner Losh
2024-06-19 15:11                                             ` G. Branden Robinson
2024-06-19 15:16                                             ` ron minnich
2024-06-19 15:59                                         ` Theodore Ts'o
2024-06-19 22:48                                           ` Kevin Bowling
2024-06-20  5:14                                             ` David Arnold
2024-06-20  5:32                                               ` George Michaelson
2024-06-20  6:37                                                 ` Alexis
2024-06-20  7:07                                                   ` David Arnold
2024-06-20 21:07                                                   ` [TUHS] Building programs (Re: " Bakul Shah via TUHS
2024-06-20 23:35                                                     ` [TUHS] " Alexis
2024-06-21  0:05                                                       ` Warner Losh
2024-06-21  0:34                                                         ` Alexis
2024-06-21  0:54                                                           ` Greg A. Woods
2024-06-21  1:06                                                             ` G. Branden Robinson
2024-06-21  1:32                                                             ` Alexis
2024-06-21  1:43                                                               ` Warner Losh
2024-06-21 16:07                                                           ` Chet Ramey via TUHS
2024-06-21  0:35                                                       ` Bakul Shah via TUHS
2024-06-21  1:15                                                         ` Alexis
2024-06-21  1:43                                                           ` segaloco via TUHS
2024-06-21 13:58                                                             ` Alan D. Salewski
2024-06-21  0:35                                                       ` Larry McVoy
2024-06-21  0:49                                                         ` Alexis
2024-06-21  1:22                                                           ` Greg A. Woods
2024-06-21  1:44                                                             ` Kevin Bowling
2024-06-21 15:57                                                       ` Chet Ramey via TUHS
2024-06-22  0:04                                                         ` Alexis
2024-06-22 17:53                                                           ` Chet Ramey via TUHS
2024-06-22 18:15                                                             ` Luther Johnson
2024-06-22 21:16                                                               ` David Arnold
2024-06-23  0:29                                                                 ` segaloco via TUHS
2024-06-23 18:50                                                                 ` Theodore Ts'o
2024-06-23 18:56                                                               ` Chet Ramey via TUHS
2024-06-23 20:15                                                                 ` Stuff Received
2024-06-24 14:03                                                                   ` Theodore Ts'o
2024-06-24 14:33                                                                     ` Dan Cross
2024-06-24 15:17                                                                       ` Warner Losh
2024-06-24 15:23                                                                   ` Chet Ramey via TUHS
2024-06-21 15:41                               ` [TUHS] " Chet Ramey via TUHS
2024-06-21 15:38                           ` Chet Ramey via TUHS
2024-06-20 20:14                       ` Alexander Schreiber
2024-06-16  6:43                 ` Wesley Parish
2024-06-16 21:56               ` David Arnold
2024-06-16 23:34                 ` Luther Johnson
2024-06-16 23:46                   ` Larry McVoy
2024-06-17 21:40                     ` Steffen Nurpmeso
2024-06-17  0:54                 ` Åke Nordin
2024-06-18  5:55                 ` Alexis
2024-06-18  6:39                   ` Michael Kjörling
2024-06-13 19:37       ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' • " Alan D. Salewski
2024-06-13 20:05         ` Clem Cole
2024-06-13 20:31           ` Bakul Shah via TUHS
2024-06-13 20:06         ` A. P. Garcia
2024-06-13 20:26           ` Jim Capp
2024-06-13 21:35           ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' ??? " Larry McVoy
2024-06-14  0:27         ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' • " Alexis
2024-06-14  0:59           ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' ??? " Larry McVoy
2024-06-14  1:11             ` Luther Johnson
2024-06-14  1:42             ` Alexis
2024-06-14  4:22               ` ron minnich
2024-06-14  6:54               ` Angel M Alganza
2024-06-14  7:04             ` Dave Horsfall
2024-06-14  7:33             ` arnold
2024-06-14  7:34             ` Andy Kosela
2024-06-14  7:44               ` Dave Horsfall
2024-06-14 11:31             ` Vincenzo Nicosia
2024-06-13 20:26     ` [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' • " Dave Horsfall
2024-06-14 11:32       ` Michael Kjörling
2024-06-14 12:21         ` A. P. Garcia
2024-06-18 12:02           ` Arrigo Triulzi via TUHS
2024-06-23  0:13         ` Dave Horsfall
2024-06-23  1:47           ` Alexis
2024-06-23 19:00             ` Theodore Ts'o
2024-06-23 20:04               ` Alexander Schreiber
2024-06-24 13:50                 ` Theodore Ts'o
2024-06-24 14:21                   ` Dan Cross
2024-06-26  7:39                     ` Kevin Bowling
2024-06-24 15:03                   ` Steffen Nurpmeso
2024-06-17  0:48 [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' " Noel Chiappa
2024-06-17  1:02 ` Clem Cole
2024-06-17  1:05 ` Larry McVoy
2024-06-17  3:56   ` ron minnich
2024-06-17  3:57     ` ron minnich
2024-06-17  5:41       ` Bakul Shah via TUHS
2024-06-17  5:51         ` Bakul Shah via TUHS
2024-06-17 15:56           ` Clem Cole
2024-06-17 16:00             ` Clem Cole
2024-06-17 16:59               ` Charles H Sauer (he/him)
2024-06-17 16:43             ` Larry McVoy
2024-06-17 22:49         ` Steffen Nurpmeso
2024-06-20 16:45 Lyndon Nerenberg (VE7TFX/VE6BBM)
2024-06-20 18:32 ` Kevin Bowling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7207069-0a89-f989-e93d-3a39d3109dba@makerlisp.com \
    --to=luther.johnson@makerlisp.com \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).