• Re: Operating Systems

    From Digital Man@21:1/183 to claw on Wed Apr 10 14:56:24 2024
    Re: Re: Operating Systems
    By: claw to Utopian Galt on Mon Apr 08 2024 07:53 am

    Whats the 2038 Problem?

    https://en.wikipedia.org/wiki/Year_2038_problem

    AKA the "Epochalypse".
    --
    digital man (rob)

    Breaking Bad quote #50:
    I've got your restraining order right here. [grabs crotch] Restrain this! - WW Norco, CA WX: 80.7øF, 27.0% humidity, 6 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From tenser@21:1/101 to fusion on Thu Apr 11 13:04:11 2024
    On 10 Apr 2024 at 04:06p, fusion pondered and said...

    there's a reason i quoted what i did and what i didn't. my post isn't about dos support at all.

    Then I guess I'm confused because the whole context of
    the thread is support for DOS doors after 2038.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Nightfox@21:1/137 to tenser on Wed Apr 10 18:16:45 2024
    Re: Re: Operating Systems
    By: tenser to Nightfox on Thu Apr 11 2024 06:23 am

    The era of x86 on the "desktop" is likely drawing to a conclusion. We've got a few more generations and probably another 10 years or so, and then it's going to be mostly ARM and RISC-V. x86 will remain on the high-end in the server space for a while, but will probably asymptotically trend towards 0% of the market, kind of like the mainframe.

    Microsoft is not stupid. They see the trend and will react accordingly, for as long as they intend to keep Windows as a going concern (likely forever, but probably in a somewhat diminished form, perhaps moving in favor of Linux over time).

    What you see _now_ has nothing to do with what you'll see in 2038.

    That's probably true. I just hope there will still be a way to build your own desktop PC - That offers the best way to customize your own computer, and I've always enjoyed doing that. I'd be disappointed if all computers basically become a closed box that you can't customize or upgrade, and would be forced to buy a whole new computer if you just need more RAM, a faster processor, etc..

    Also, I hope ARM-based computers would still be as performant (or more) for intensive computing tasks, such as video processing, photo editing, gaming, etc.. Though I imagine that will be the case.

    Nightfox
    --- SBBSecho 3.20-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From Nightfox@21:1/137 to niter3 on Wed Apr 10 18:17:43 2024
    Re: Operating Systems
    By: niter3 to Nightfox on Wed Apr 10 2024 02:35 pm

    I wonder how many people will be using ARM-based Wnidows machines
    though. I've heard of Microsoft working on that, but at least right now,
    I haven't seen anyone using an ARM Windows machine, either at work or for
    personal use.

    Using an arm install under Mac Parrells.

    Well yeah, though the hardware is a Mac. I was thinking computers that are made to run Windows - I still see x86/x64 machines these days.

    Nightfox
    --- SBBSecho 3.20-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From Digital Man@21:1/183 to tenser on Wed Apr 10 22:47:28 2024
    Re: Re: Operating Systems
    By: tenser to Nightfox on Thu Apr 11 2024 06:23 am

    Microsoft is not stupid. They see the trend and will react
    accordingly, for as long as they intend to keep Windows as a going
    concern (likely forever, but probably in a somewhat diminished
    form, perhaps moving in favor of Linux over time).

    Microsoft also has created versions of Windows NT for MIPS, Alpha, i860, PowerPC and Itanium. So their ability to "see the trend and react accordingly" isn't fool proof. :-)

    What you see _now_ has nothing to do with what you'll see in 2038.

    14 years will go by pretty quick. 2010 wasn't so long ago now. I started working on ARM devices and hearing about how ARM was going to take over everything in 1999 (25 years ago, about). Maybe RISC-V and ARM will take over everything, maybe not. I could easily imagine 14 years now being very similar in balance of processor architectures and market share to what we see now. <shrug>
    --
    digital man (rob)

    Synchronet "Real Fact" #58:
    The last version of Synchronet to run on MS-DOS and OS/2 was v2.30c (1999) Norco, CA WX: 64.6øF, 47.0% humidity, 0 mph N wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From tenser@21:1/101 to Nightfox on Fri Apr 12 00:05:11 2024
    On 10 Apr 2024 at 06:16p, Nightfox pondered and said...

    That's probably true. I just hope there will still be a way to build
    your own desktop PC - That offers the best way to customize your own computer, and I've always enjoyed doing that. I'd be disappointed if
    all computers basically become a closed box that you can't customize or upgrade, and would be forced to buy a whole new computer if you just
    need more RAM, a faster processor, etc..

    I suspect that will be the case for power users. Simply plugging
    the various components in shouldn't be something that's restricted
    just to OEMs.

    Also, I hope ARM-based computers would still be as performant (or more) for intensive computing tasks, such as video processing, photo editing, gaming, etc.. Though I imagine that will be the case.

    They already are! Apple's M-series chips are very fast, certainly
    on par with desktop x86 parts. On the high-end, Altera's core IPes
    are used in a number of de novo systems; Google just launched an
    offering there (I presume for GCP; they've been using ARM for their
    internal services for several years now). And of course Amazon has
    Graviton, et al. I'm sure MSFT has something coming. The Chinese
    players seem to be mostly leaning towards RISC-V, though; SiFive is
    saying they're going to unleash a high-end processor sometime later
    this year (if only they'd chosen a better page table format...sigh).

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From tenser@21:1/101 to Digital Man on Fri Apr 12 00:12:49 2024
    On 10 Apr 2024 at 10:47p, Digital Man pondered and said...

    Re: Re: Operating Systems
    By: tenser to Nightfox on Thu Apr 11 2024 06:23 am

    Microsoft is not stupid. They see the trend and will react accordingly, for as long as they intend to keep Windows as a going concern (likely forever, but probably in a somewhat diminished
    form, perhaps moving in favor of Linux over time).

    Microsoft also has created versions of Windows NT for MIPS, Alpha, i860, PowerPC and Itanium. So their ability to "see the trend and react accordingly" isn't fool proof. :-)

    Ah, i860.... I needed that belly laugh. They made a lot of margin
    dollars on that Alpha port, though. And of course, everyone thought
    that Itanium was going to be the future; can't really fault 'em
    there.

    What you see _now_ has nothing to do with what you'll see in 2038.

    14 years will go by pretty quick. 2010 wasn't so long ago now. I started working on ARM devices and hearing about how ARM was going to take over everything in 1999 (25 years ago, about). Maybe RISC-V and ARM will take over everything, maybe not. I could easily imagine 14 years now being
    very similar in balance of processor architectures and market share to what we see now. <shrug>

    I some sense, ARM did kinda take over everything. Consider all
    the places that you used to stick a 68k or a Dragonball or 8085;
    what's in those now? Mostly Cortex-M, and RISC-V is coming up
    in the uCtlr space (those WDC chips look pretty nice, and I saw
    something the other day that looked like it'd give an M7-class
    chip a run for its money). On the high-end, ARM's making serious
    inroads with the hyperscalers, China's bowing out of the x86
    world, and Intel keeps tripping over it's own feet; the big wild
    card in my mind is AMD, which stumbled back from the dead with
    Zen. But even there, the PSP is an ARM core, not x86, so.... :-D

    Of course it's impossible to predict the future, and I could be
    wrong. But I just don't see x86 retaining its dominant position
    for that long.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From claw@21:1/210 to Digital Man on Thu Apr 11 07:52:34 2024
    On 10 Apr 2024, Digital Man said the following...
    https://en.wikipedia.org/wiki/Year_2038_problem
    AKA the "Epochalypse".
    --

    Well Ain't that a b!+c4. People haven't been 32 bit in a long time I can't imagine the newer systems have this issue???

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |20|15Radio|10@|14HTTP://Noverdu.com:88
    |16|10 Standard ports for SSH/Telnet |04 WEB|14@|12HTTP://noverdu.com:808 |20|15Global Chat, Global Messaging and Games! |16|10Ditch the Unsocial Media

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From Digital Man@21:1/183 to tenser on Thu Apr 11 11:13:44 2024
    Re: Re: Operating Systems
    By: tenser to Digital Man on Fri Apr 12 2024 12:12 am

    I some sense, ARM did kinda take over everything. Consider all
    the places that you used to stick a 68k or a Dragonball or 8085;
    what's in those now? Mostly Cortex-M, and RISC-V is coming up

    ARM is huge (especially in consumer electronics), no doubt, and definitely PPC and MIPS are dynosaurs today, but they're *still* used in automotive, in very large volumes, and in other safety-critical industries (aviation, aerospace) along with other obscure architectures (e.g. Infineon's TriCore architecture) that won't be going away any time soon.

    There are other differentiating features beyond performance and power consumption, that keep some of these non-ARM architectures thriving, believe it or not. :-)
    --
    digital man (rob)

    This Is Spinal Tap quote #46:
    "Not an Exit" - we don't want an exit. Well that's true.
    Norco, CA WX: 78.7øF, 32.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From Digital Man@21:1/183 to claw on Thu Apr 11 11:15:19 2024
    Re: Re: Operating Systems
    By: claw to Digital Man on Thu Apr 11 2024 07:52 am

    On 10 Apr 2024, Digital Man said the following...
    https://en.wikipedia.org/wiki/Year_2038_problem
    AKA the "Epochalypse".
    --

    Well Ain't that a b!+c4. People haven't been 32 bit in a long time I can't imagine the newer systems have this issue???

    The problem is in the softare, not "the system". The system can be 64-bit and still have plenty of 32-bit time_t use lurking in its software. Y2K38 is definitely going to blow some shit up (figuratively, if not literally).
    --
    digital man (rob)

    Steven Wright quote #25:
    If at first you don't succeed, destroy all evidence that you tried.
    Norco, CA WX: 79.8øF, 33.0% humidity, 2 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From Shurato@21:2/148 to claw on Thu Apr 11 13:00:00 2024

    On 10 Apr 2024, Digital Man said the following...
    https://en.wikipedia.org/wiki/Year_2038_problem AKA the
    "Epochalypse". --

    Well Ain't that a b!+c4. People haven't been 32 bit in a long time I can't imagine the newer systems have this issue???

    That's not true. A lot of sysops run 32 bit systems to be able to run DOS doors... But no, my main OS for regular purposes won't experience this.

    --- shsbbs.net
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
    ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs').


    *** THE READER V4.50 [freeware]
    ---
    * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148)
  • From Gamgee@21:2/138 to Digital Man on Thu Apr 11 14:29:00 2024
    Digital Man wrote to tenser <=-

    Re: Re: Operating Systems
    By: tenser to Digital Man on Fri Apr 12 2024 12:12 am

    I some sense, ARM did kinda take over everything. Consider all
    the places that you used to stick a 68k or a Dragonball or 8085;
    what's in those now? Mostly Cortex-M, and RISC-V is coming up

    ARM is huge (especially in consumer electronics), no doubt, and
    definitely PPC and MIPS are dynosaurs today, but they're *still*
    used in automotive, in very large volumes, and in other
    safety-critical industries (aviation, aerospace) along with other
    obscure architectures (e.g. Infineon's TriCore architecture) that
    won't be going away any time soon.

    Yes, and I believe that many banking ATMs still run OS/2 for some
    reason, and I know that MANY Point-of-Sale devices/systems still run
    good old MSDOS. Not worth the effort/expense to update those systems,
    and they're reliable.

    There are other differentiating features beyond performance and
    power consumption, that keep some of these non-ARM architectures
    thriving, believe it or not. :-)

    Yup, and reliability/niche-status are two of them.



    ... Users come in two types: Those who have lost data, and those who will.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.20-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
  • From tenser@21:1/101 to Digital Man on Fri Apr 12 08:17:39 2024
    On 11 Apr 2024 at 11:13a, Digital Man pondered and said...

    I some sense, ARM did kinda take over everything. Consider all
    the places that you used to stick a 68k or a Dragonball or 8085;
    what's in those now? Mostly Cortex-M, and RISC-V is coming up

    ARM is huge (especially in consumer electronics), no doubt, and
    definitely PPC and MIPS are dynosaurs today, but they're *still* used in automotive, in very large volumes, and in other safety-critical
    industries (aviation, aerospace) along with other obscure architectures (e.g. Infineon's TriCore architecture) that won't be going away any time soon.

    There are other differentiating features beyond performance and power consumption, that keep some of these non-ARM architectures thriving, believe it or not. :-)

    I totally do! There's also still a lot of SPARC in aerospace,
    somewhat weirdly. Register windows are still a bad idea,
    though. :-)

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From claw@21:1/210 to Digital Man on Thu Apr 11 23:24:24 2024
    On 11 Apr 2024, Digital Man said the following...
    The problem is in the softare, not "the system". The system can be
    64-bit and still have plenty of 32-bit time_t use lurking in its
    software. Y2K38 is definitely going to blow some shit up (figuratively,
    if not literally). --
    digital man (rob)

    Well I will have to read more about it. If its software then Why isn't this fixed already. Guess I will have to ready about it to know why its not simple.

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |20|15Radio|10@|14HTTP://Noverdu.com:88
    |16|10 Standard ports for SSH/Telnet |04 WEB|14@|12HTTP://noverdu.com:808 |20|15Global Chat, Global Messaging and Games! |16|10Ditch the Unsocial Media

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From claw@21:1/210 to Shurato on Thu Apr 11 23:25:15 2024
    On 11 Apr 2024, Shurato said the following...
    That's not true. A lot of sysops run 32 bit systems to be able to run
    DOS doors... But no, my main OS for regular purposes won't experience this.

    --- shsbbs.net
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp, ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs').

    Linux FTW. :)

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |20|15Radio|10@|14HTTP://Noverdu.com:88
    |16|10 Standard ports for SSH/Telnet |04 WEB|14@|12HTTP://noverdu.com:808 |20|15Global Chat, Global Messaging and Games! |16|10Ditch the Unsocial Media

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From Digital Man@21:1/183 to claw on Thu Apr 11 23:52:49 2024
    Re: Re: Operating Systems
    By: claw to Digital Man on Thu Apr 11 2024 11:24 pm

    On 11 Apr 2024, Digital Man said the following...
    The problem is in the softare, not "the system". The system can be 64-bit and still have plenty of 32-bit time_t use lurking in its software. Y2K38 is definitely going to blow some shit up (figuratively, if not literally). --

    Well I will have to read more about it. If its software then Why isn't this fixed already. Guess I will have to ready about it to know why its not simple.

    Because we're mostly talking about older software (e.g. 16-bit programs for MS-DOS) that hasn't been updated or supported in 20 or 30 years, the build tools and run-time libraries are no longer supported or updated (so they're not going to be migrated to 64-bit time_t's, even if that was feasible) and the source code to many of these programs was lost anyway. No, it's not a simple problem to solve.
    --
    digital man (rob)

    Rush quote #63:
    He's got a problem with his poisons, but you know he'll find a cure
    Norco, CA WX: 61.0øF, 69.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From Digital Man@21:1/183 to claw on Thu Apr 11 23:54:44 2024
    Re: Re: Operating Systems
    By: claw to Shurato on Thu Apr 11 2024 11:25 pm

    That's not true. A lot of sysops run 32 bit systems to be able to run DOS doors... But no, my main OS for regular purposes won't experience this.

    Linux FTW. :)

    For many years, Linux (and the GNU C libraries used to built it's userland programs) had the exact same problem/limitation.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #18:
    CVS = Concurrent Versioning System
    Norco, CA WX: 60.4øF, 70.0% humidity, 0 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From Tiny@21:1/700 to GAMGEE on Fri Apr 12 06:28:00 2024
    Quoting Gamgee to Digital Man <=-

    reason, and I know that MANY Point-of-Sale devices/systems still run
    good old MSDOS. Not worth the effort/expense to update those systems,
    and they're reliable.

    I ran a MSDOS program for inventory / invoicing when I ran my business and
    it just worked perfectly.

    I still use Wordperfect office for DOS at home because it does everything
    I want. I can even load work excel docuemtns (after converting) and work
    from home using dos.

    Shawn

    ... "Be careful and have a good time!" (Mothers' paradox curse)
    ___ Blue Wave/386 v2.30
    --- SBBSecho 3.20-Linux
    * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (21:1/700)
  • From Gamgee@21:2/138 to Tiny on Fri Apr 12 07:31:00 2024
    Tiny wrote to GAMGEE <=-

    Quoting Gamgee to Digital Man <=-

    reason, and I know that MANY Point-of-Sale devices/systems still run
    good old MSDOS. Not worth the effort/expense to update those systems,
    and they're reliable.

    I ran a MSDOS program for inventory / invoicing when I ran my
    business and it just worked perfectly.

    I still use Wordperfect office for DOS at home because it does
    everything I want. I can even load work excel docuemtns (after converting) and work from home using dos.

    Sweet!



    ... Gone crazy, be back later, please leave message.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.20-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
  • From tenser@21:1/101 to claw on Sat Apr 13 02:39:12 2024
    On 11 Apr 2024 at 11:24p, claw pondered and said...

    On 11 Apr 2024, Digital Man said the following...
    The problem is in the softare, not "the system". The system can be 64-bit and still have plenty of 32-bit time_t use lurking in its software. Y2K38 is definitely going to blow some shit up (figurativel if not literally). --

    Well I will have to read more about it. If its software then Why isn't this fixed already. Guess I will have to ready about it to know why its not simple.

    For the simple reason that software rots if left unattended
    for a long time. Very few programs require _no_ maintenance
    as the world around them evolves.

    There's a lot of software out there, written 20 or 30 years
    ago, that made a lot of assumptions about the state of the
    world; there were a lot of programmers who thought to
    themselves in 1991, "Gee, the year 2038 is a long time from
    now..." and took shortcuts. In some cases, the source code
    has been lost, or orphaned, or the programmer has even died;
    consider Spitfire BBS, as an example: Mike Woltz passed away
    a year or so ago. It's unlikely that anyone will ever see
    the Spitfire source code. Or consider all of those unattended
    little boxes with a microprocessor in them running some
    ancient unpatched version of an operating system, that no
    one bothers to update because either they can't, or no one
    feels the need to do so.

    The same thing happened with Y2K, and occasionally we _still_
    kick up a Y2K bug turning over some software rock.

    It's not that we _can't_ fix it in software, it's that it's
    actually a really big job, and no one has done the work yet.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Digital Man@21:1/183 to tenser on Fri Apr 12 11:29:20 2024
    Re: Re: Operating Systems
    By: tenser to claw on Sat Apr 13 2024 02:39 am

    There's a lot of software out there, written 20 or 30 years
    ago, that made a lot of assumptions about the state of the
    world; there were a lot of programmers who thought to
    themselves in 1991, "Gee, the year 2038 is a long time from
    now..." and took shortcuts.

    Speaking for myself at least, I started using time_t types for storing dates and times in C programs in 1988 and wasn't even aware that it would ever roll-over (go negative) at any point. I don't think I actually realized that most time_t's are signed (can go negative) and that for those systems (C libraries), dates before Jan-1-1970 are *suppoosed* to representable in that way (as negative valeus). [libraies that use unsigned time_t's cannot represent dates before Jan-1-1970] And I'm pretty sure it was 1992 when I did the math and realized that 2038 and 2106 are going to be problematic years for 32-bit time_t-based libraries/programs. It was certainly not discussed in the programming books or among C programmers of the era. We weren't taking shortcuts, we were just following the norms. Use of 64-bit integers for most things seemed excessive/wasteful and in many environments (e.g. 16-bit systems) not practical or even possible.
    --
    digital man (rob)

    Steven Wright quote #32:
    The colder the x-ray table, the more of your body is required to be on it. Norco, CA WX: 57.0øF, 82.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From smokku@21:1/222 to Nightfox on Sat Apr 13 08:17:22 2024

    On 2024-04-10 3:55 Nightfox said...
    I wonder how many people will be using ARM-based Wnidows machines though.
    I've heard of Microsoft working on that, but at least right now, I haven't seen anyone using an ARM Windows machine, either at work or for personal use.

    This might change with the recent Chineese ban on the use of non-chineese processors. The cores Huawei etc. use to mass produce processors are ARM.
    I guess we will soon see a lot of personal laptops based on ARM produced for chineese market, that will eventually spread to other markets.

    --
    smk
    --- ENiGMA 1/2 v0.0.14-beta (linux; x64; 20.11.1)
    * Origin: X65.zone (21:1/222)
  • From Tiny@21:1/700 to Gamgee on Sat Apr 13 08:39:00 2024
    Gamgee wrote to Tiny <=-

    I still use Wordperfect office for DOS at home because it does
    converting) and work from home using dos.
    Sweet!

    Just what I got used to, and my fingers just know what keys to hit
    without using menus.

    At work I'm stuck with M$ office, so I'm slowly getting used to that
    and will probably end up scrapping my dos setup eventually.

    Shawn


    ... Forgive your enemies but never forget their faces

    --- MultiMail/Linux v0.52
    * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (21:1/700)
  • From tenser@21:1/101 to Digital Man on Wed Apr 17 02:43:36 2024
    On 12 Apr 2024 at 11:29a, Digital Man pondered and said...

    Re: Re: Operating Systems
    By: tenser to claw on Sat Apr 13 2024 02:39 am

    There's a lot of software out there, written 20 or 30 years
    ago, that made a lot of assumptions about the state of the
    world; there were a lot of programmers who thought to
    themselves in 1991, "Gee, the year 2038 is a long time from
    now..." and took shortcuts.

    Speaking for myself at least, I started using time_t types for storing dates and times in C programs in 1988 and wasn't even aware that it
    would ever roll-over (go negative) at any point. I don't think I
    actually realized that most time_t's are signed (can go negative) and
    that for those systems (C libraries), dates before Jan-1-1970 are *suppoosed* to representable in that way (as negative valeus). [libraies that use unsigned time_t's cannot represent dates before Jan-1-1970] And I'm pretty sure it was 1992 when I did the math and realized that 2038
    and 2106 are going to be problematic years for 32-bit time_t-based libraries/programs. It was certainly not discussed in the programming books or among C programmers of the era. We weren't taking shortcuts, we were just following the norms. Use of 64-bit integers for most things seemed excessive/wasteful and in many environments (e.g. 16-bit systems) not practical or even possible. --

    Using time_t was less the "shortcut" issue that I was thinking
    of, and more people doing things like casting back and forth
    between various int types. Disciplined use of `time_t`, and
    not making a lot of assumptions about size of that type, makes
    the problem tractable in programs for which one has the source.

    The VMS people warned us about this a long time ago; certainly
    in the 80s. DEC engineering famously had a bug that they kept
    open that said something like, "VMS dates won't work after the
    year 9999."

    I distinctly remember people talking about 2038 in the runup
    to Y2K and the consensus was mostly, "meh, we'll fix it before
    then." In the 32-bit era, we had more pressing issues, like
    running out of address space, or the UID space rolling over on
    big installations.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)