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

Liste des GroupesRevenir à col misc 
Sujet : Re: Can't Avoid That Shit Rust - Even On Gentoo
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacy comp.os.linux.misc
Suivi-à : comp.os.linux.advocacy
Date : 02. Oct 2024, 10:49:26
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <pan$e9fd5$1a1eef8b$c3e30623$375931ee@linux.rocks>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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.

Date Sujet#  Auteur
29 Sep 24 * Re: Can't Avoid That Shit Rust - Even On Gentoo38186282@ud0s4.net
29 Sep 24 `* Re: Can't Avoid That Shit Rust - Even On Gentoo37Lawrence D'Oliveiro
30 Sep 24  `* Re: Can't Avoid That Shit Rust - Even On Gentoo36186282@ud0s4.net
30 Sep 24   +* Re: Can't Avoid That Shit Rust - Even On Gentoo32Lawrence D'Oliveiro
30 Sep 24   i`* Re: Can't Avoid That Shit Rust - Even On Gentoo31rbowman
30 Sep 24   i +* Re: Can't Avoid That Shit Rust - Even On Gentoo29186282@ud0s4.net
30 Sep 24   i i+- Re: Can't Avoid That Shit Rust - Even On Gentoo1rbowman
30 Sep 24   i i`* Re: Can't Avoid That Shit Rust - Even On Gentoo27candycanearter07
30 Sep 24   i i +* Re: Can't Avoid That Shit Rust - Even On Gentoo12Lawrence D'Oliveiro
1 Oct 24   i i i`* Re: Can't Avoid That Shit Rust - Even On Gentoo11John Dallman
1 Oct 24   i i i `* Re: Can't Avoid That Shit Rust - Even On Gentoo10Lawrence D'Oliveiro
1 Oct 24   i i i  `* Re: Can't Avoid That Shit Rust - Even On Gentoo9John Dallman
1 Oct 24   i i i   +* Re: Can't Avoid That Shit Rust - Even On Gentoo4Lawrence D'Oliveiro
1 Oct 24   i i i   i+- Re: Can't Avoid That Shit Rust - Even On Gentoo1John Dallman
1 Oct 24   i i i   i`* 64-bit time on 32-bit Windows NT (was: Re: Can't Avoid That Shit Rust - Even On Gentoo)2Nuno Silva
1 Oct 24   i i i   i `- Re: 64-bit time on 32-bit Windows NT1Richard Kettlewell
1 Oct 24   i i i   `* Re: Can't Avoid That Shit Rust - Even On Gentoo4186282@ud0s4.net
2 Oct 24   i i i    +* Re: Can't Avoid That Shit Rust - Even On Gentoo2186282@ud0s4.net
2 Oct 24   i i i    i`- Re: Can't Avoid That Shit Rust - Even On Gentoo1Richard Kettlewell
2 Oct 24   i i i    `- Re: Can't Avoid That Shit Rust - Even On Gentoo1The Natural Philosopher
1 Oct 24   i i +- Re: Can't Avoid That Shit Rust - Even On Gentoo1rbowman
1 Oct 24   i i +- Re: Can't Avoid That Shit Rust - Even On Gentoo1186282@ud0s4.net
1 Oct 24   i i +- Re: Can't Avoid That Shit Rust - Even On Gentoo1Joel
2 Oct 24   i i `* Re: Can't Avoid That Shit Rust - Even On Gentoo11186282@ud0s4.net
2 Oct 24   i i  +- Re: Can't Avoid That Shit Rust - Even On Gentoo1Farley Flud
2 Oct 24   i i  `* Re: Can't Avoid That Shit Rust - Even On Gentoo9Lawrence D'Oliveiro
3 Oct 24   i i   `* Re: Can't Avoid That Shit Rust - Even On Gentoo8186282@ud0s4.net
3 Oct 24   i i    `* Re: Can't Avoid That Shit Rust - Even On Gentoo7Lawrence D'Oliveiro
4 Oct 24   i i     `* Re: Can't Avoid That Shit Rust - Even On Gentoo6186282@ud0s4.net
4 Oct 24   i i      +* Re: Can't Avoid That Shit Rust - Even On Gentoo4candycanearter07
4 Oct 24   i i      i`* Re: Can't Avoid That Shit Rust - Even On Gentoo3Cy DeMillion
5 Oct 24   i i      i `* Re: Can't Avoid That Shit Rust - Even On Gentoo2Joel
8 Oct 24   i i      i  `- Re: Can't Avoid That Shit Rust - Even On Gentoo1%
4 Oct 24   i i      `- Re: Can't Avoid That Shit Rust - Even On Gentoo1Lawrence D'Oliveiro
30 Sep 24   i `- Re: Can't Avoid That Shit Rust - Even On Gentoo1Lawrence D'Oliveiro
30 Sep 24   `* Re: Can't Avoid That Shit Rust - Even On Gentoo3186282@ud0s4.net
30 Sep 24    `* Re: Can't Avoid That Shit Rust - Even On Gentoo2Lawrence D'Oliveiro
30 Sep 24     `- Re: Can't Avoid That Shit Rust - Even On Gentoo1186282@ud0s4.net

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal