News for hackers. Stuff that matters.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM... by xyst on Saturday April 16, 2022 @05:03PM (#31056080)
> I have gotten Rust to compile for 386 DOS machines before

I don't know why I laughed so hard at this. Why would any sane person do this?

Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM... by serentty on Saturday April 16, 2022 @06:14PM (#31056544)
It’s fun. Lots of people like doing retro game dev and the like, but often you are stuck with ancient C toolchains that suck even if you like C itself. Getting Rust working is a great way to make it more enjoyable from a hobbyist perspective, I think.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM... by mhh__ on Saturday April 16, 2022 @05:52PM (#31056419)
Why not?

If you talk to the spooky GCC people with beards they'll point out that they support much much weirder chips than that (albeit with little to no library support).

Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM... by nine_k on Sunday April 17, 2022 @01:14AM (#31058691)
You may not believe me, but there are relatively modern 386-compatible embedded systems. Some of them run DOS for the sake of very old applications, such as certain industrial control software. Targeting them for modernization without gutting the hardware (which can be perfectly functioning and highly durable) is a valid goal.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM... by wonderbore on Sunday April 17, 2022 @12:52AM (#31058611)
You're a cat, a 386 DOS machine is a tiny box on the floor. You jump in the box and slowly settle all of your limbs into the box till you can sit. Now you fit.

Is it sane? No. But you're a cat.

Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM... by cesarb on Saturday April 16, 2022 @06:28PM (#31056640)
> Why would any sane person do this?

Perhaps the same kind of people who got GCC to compile for 386 DOS machines (also using DPMI). Which might sound useless, since it's an underpowered operating system running on underpowered hardware, but it was used to build some very popular software, like the original Quake game (source: http://www.delorie.com/djgpp/history.html).

Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM... by nine_k on Sunday April 17, 2022 @01:10AM (#31058676)
The original Doom, yes. Even though it was barely playable on a 386 25 MHz.

The original Quake was barely playable on a 486 DX4 100 MHz, and was fine on a Pentium.

Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM... by anthk on Tuesday April 19, 2022 @07:25PM (#31090704)
The FastDoom port slims down some floor textures and such and makes Doom playable (and not stamp sized) on a 386.

About the 386, you could run SICP as a GNU Info file blazingly fast and a Scheme compiler on another TTY, or under GNU Screen. You could typeset with Groff and Mom, too.

Now try running LaTeX on that. Yes, Donald Knuth is the Ur-creator on CS and typesetting, but hey, sometimes you don't need a full 3GB Texlive suite to typeset some book or math equation notebook.

Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM... by bbarnett on Saturday April 16, 2022 @06:19PM (#31056583)
I guess you will laugh harder, at the guy trying to get it to work on Psion 3a.