Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.misc > #58907

Re: Can't Avoid That Shit Rust - Even On Gentoo

From Farley Flud <ff@linux.rocks>
Subject Re: Can't Avoid That Shit Rust - Even On Gentoo
Newsgroups comp.os.linux.advocacy, comp.os.linux.misc
Followup-To comp.os.linux.advocacy
References (11 earlier) <llv1scFa6uvU1@mid.individual.net> <D-6cnfCih5UIy2f7nZ2dnZfqn_adnZ2d@earthlink.com> <slrnvflggs.lr8.candycanearter07@candydeb.host.invalid> <pan$177f8$17178cab$c1086257$7a39b6f7@linux.rocks> <Btycnd1FwtZrW2H7nZ2dnZfqnPednZ2d@earthlink.com>
Message-Id <pan$e9fd5$1a1eef8b$c3e30623$375931ee@linux.rocks>
Date 2024-10-02 09:49 +0000
Organization UsenetExpress - www.usenetexpress.com

Cross-posted to 2 groups.

Followups directed to: comp.os.linux.advocacy

Show all headers | View raw


On Wed, 2 Oct 2024 00:07:15 -0400, 186282@ud0s4.net wrote:

>> 
>> GNU/Linux has had 64-bit time for many years already.
> 
>    It's not just HAVING 64/128-bit vars. Gotta look
>    at every function, every line. The original pgmr
>    likely specified 32-bit vars for a of of the
>    date-related stuff because, well, datetime is
>    always 32 bit, right ? Hey, the cdates/mdates
>    on FILES too ......
> 

If the programmer follows ISO/POSIX standards then
it will all automatically become 64-bit because all
libc time/date functions are based on time_t, which
is an integer defined in the libc headers.

Some filesystem timestamps may still be 32-bit but
that shouldn't be hard to fix.  If the filesytem is
in wide usage it should be fixed already. 


>    The swamp just gets deeper and deeper.
> 
>    There are kind of the literal gazillion bits of
>    code in dozens of languages created from the
>    late 1950s on that are inside apps/systems
>    everywhere today that in some way deal
>    with, depend on, datetimes.
> 

Most C source code from the 1950's, or even the 1990's,
would not on run on current 64-bit systems anyway,
irrespective of date/time functions.

I have had to convert code from the early 2000's just
to make it run on my machine.  The change from 32 to
64 bit processors forced many, many packages to be
rewritten.

But you are correct.  Lot's of code won't make it but
for desktop GNU/Linux workstations this code is largely
irrelevant and may be irrelevant elsewhere as well.





-- 
Systemd: solving all the problems that you never knew you had.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Can't Avoid That Shit Rust - Even On Gentoo rbowman <bowman@montana.com> - 2024-09-24 23:17 +0000
  Re: Can't Avoid That Shit Rust - Even On Gentoo Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2024-09-25 00:52 +0000
    Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-09-28 03:10 -0400
    Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-28 07:38 +0000
      Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-09-29 01:11 -0400
        Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-29 05:38 +0000
          Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-09-30 01:18 -0400
            Re: Can't Avoid That Shit Rust - Even On Gentoo Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2024-09-30 05:52 +0000
              Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-30 06:03 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo rbowman <bowman@montana.com> - 2024-09-30 07:21 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-09-30 03:43 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo rbowman <bowman@montana.com> - 2024-09-30 19:31 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-09-30 19:40 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-30 22:00 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo jgd@cix.co.uk (John Dallman) - 2024-10-01 00:25 +0100
                Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-30 23:48 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo jgd@cix.co.uk (John Dallman) - 2024-10-01 00:56 +0100
                Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-10-01 00:27 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo jgd@cix.co.uk (John Dallman) - 2024-10-01 10:12 +0100
                64-bit time on 32-bit Windows NT (was: Re: Can't Avoid That Shit Rust - Even On Gentoo) Nuno Silva <nunojsilva@invalid.invalid> - 2024-10-01 10:31 +0100
                Re: 64-bit time on 32-bit Windows NT Richard Kettlewell <invalid@invalid.invalid> - 2024-10-01 16:55 +0100
                Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-10-01 00:16 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2024-10-01 16:41 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-10-02 00:57 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo Richard Kettlewell <invalid@invalid.invalid> - 2024-10-02 08:55 +0100
                Re: Can't Avoid That Shit Rust - Even On Gentoo The Natural Philosopher <tnp@invalid.invalid> - 2024-10-02 10:47 +0100
                Re: Can't Avoid That Shit Rust - Even On Gentoo rbowman <bowman@montana.com> - 2024-10-01 01:59 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-09-30 23:56 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo Farley Flud <ff@linux.rocks> - 2024-10-01 07:54 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo Joel <joelcrump@gmail.com> - 2024-10-01 04:01 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-10-02 00:07 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo Farley Flud <ff@linux.rocks> - 2024-10-02 09:49 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-10-02 22:32 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-10-02 22:25 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-10-03 03:52 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-10-03 23:03 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-10-04 18:00 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo Cy DeMillion <cyde@loozers.net> - 2024-10-04 18:40 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo Joel <joelcrump@gmail.com> - 2024-10-04 20:18 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo % <present@qmail.net> - 2024-10-08 13:50 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-10-04 20:51 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-30 07:56 +0000
              Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-09-30 03:40 -0400
                Re: Can't Avoid That Shit Rust - Even On Gentoo Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-30 07:56 +0000
                Re: Can't Avoid That Shit Rust - Even On Gentoo "186282@ud0s4.net" <186283@ud0s4.net> - 2024-09-30 04:09 -0400

csiph-web