Deutsch   English   Français   Italiano  
<m464hpFbou0U1@mid.dfncis.de>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From: =?UTF-8?Q?Hans-Bernhard_Br=C3=B6ker?= <HBBroeker@gmail.com>
Newsgroups: comp.arch.embedded
Subject: Re: 32 bits time_t and Y2038 issue
Date: Fri, 21 Mar 2025 22:38:02 +0100
Lines: 23
Message-ID: <m464hpFbou0U1@mid.dfncis.de>
References: <vqpkf9$1sbsa$1@dont-email.me> <vqpoi3$226ih$1@dont-email.me>
 <slrnvtbaot.sal.news-1513678000@a-tuin.ms.intern>
 <vrbado$2133a$1@dont-email.me> <vrbi79$2a30t$1@dont-email.me>
 <slrnvtjeq9.566.news-1513678000@a-tuin.ms.intern>
 <vrcidh$35fbp$2@dont-email.me> <vrcmpp$175$1@reader1.panix.com>
 <m3uah8F5prcU1@mid.dfncis.de>
 <slrnvtqc05.566.news-1513678000@a-tuin.ms.intern>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.dfncis.de OdlTsPh2c/wYeG2Yj9zOsQf94UDrlNBr7MfRm80yPp5Tohrv6rjbD9Icmr
Cancel-Lock: sha1:l3zViV+Epp1uf7Ey/XJCL4DFpu4= sha256:iQXO6qHaF7RyTDKX/nCapwKGg1WWfm6xFLqpjLDLJ4k=
User-Agent: Mozilla Thunderbird
Content-Language: de-DE, en-US
In-Reply-To: <slrnvtqc05.566.news-1513678000@a-tuin.ms.intern>
Bytes: 2434

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.