Sujet : Re: 32 bits time_t and Y2038 issue
De : HBBroeker (at) *nospam* gmail.com (Hans-Bernhard Bröker)
Groupes : comp.arch.embeddedDate : 21. Mar 2025, 22:38:02
Autres entêtes
Message-ID : <m464hpFbou0U1@mid.dfncis.de>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Mozilla Thunderbird
Am 21.03.2025 um 10:23 schrieb Michael Schwingen:
On 2025-03-18, Hans-Bernhard Bröker <HBBroeker@gmail.com> wrote:
I'll also second an earlier suggestion: for newcomers with little or no
present skills in Makefile writing, CMake or Meson can be a much
smoother entry into this world. Also, if you're going this route, I
suggest to consider skipping Make and using Ninja instead.
Ninja works great, but I don't think you should write ninja scripts
yourself.
Of course not --- the "route" in question was already "using CMake or Meson" after all.
The makers of Ninja are quite clear about that in their mission statement. Ninja scripts are strictly intended to only ever be written by machines, not humans, and they're intended to be executed _fast_. No creature comforts, no powerful flexibility; just raw speed.n,mn,m n
Possibly the single biggest eye-opener might be when you run a build twice in a row without changing anything else in between. So for the second run the entire job boils down to finding out that there's nothing left to do. Ninja is so much faster in that scenario that it's almost painful to watch Make, once you've seen Ninja do it.