Live data from Hacker News

Unofficial "Tier 4" Rust Target for older Windows versions

github.com

21–30 of 97 posts

Re: Unofficial "Tier 4" Rust Target for older Windows versions

#21

I wish more languages support old platforms. I'm working in a company and a lot of our customers are running Windows 7 and 8, few of them running Vista. I have to use ancient versions of development tools to target those. For example stuck on Java 8 for eternity. It's PITA.

Use Temurin Java 8 JDK/JRE. It's designed to be 1:1 compatible with Oracle Java.

Re: Unofficial "Tier 4" Rust Target for older Windows versions

#22
post #4

The idea of running Rust code on Windows 95 is very funny to me. Two completely different universes colliding.

IIRC, somebody ran .NET on Windows 3.1.

The reverse of that is running 16bit Windows 1.x/2.x/3.x apps on 64bit Windows 10/11 https://github.com/otya128/winevdm

Re: Unofficial "Tier 4" Rust Target for older Windows versions

#23

Earlier quoted context omitted.

seeing Windows 8 called old really did some psychic damage to me. If it's not a secret, what kind of customers do you have? Is it some industrial stuff as usual?

Medicine. I'm living in third world country and probably they don't have enough money to upgrade often, they just install something and work with it for many years. Works for them, I guess, I often see computers with 2-4 GB RAM and some ancient Celeron.

Not to be glib, but medical equipment in the first world is the same.

Re: Unofficial "Tier 4" Rust Target for older Windows versions

#24
post #17

I wish more languages support old platforms. I'm working in a company and a lot of our customers are running Windows 7 and 8, few of them running Vista. I have to use ancient versions of development tools to target those. For example stuck on Java 8 for eternity. It's PITA.

The way some language runtimes have dropped support for Windows 7 feels outright malicious.

Malicious? Thats a heavy accusation.

Re: Unofficial "Tier 4" Rust Target for older Windows versions

#25
post #13

I wish more languages support old platforms. I'm working in a company and a lot of our customers are running Windows 7 and 8, few of them running Vista. I have to use ancient versions of development tools to target those. For example stuck on Java 8 for eternity. It's PITA.

I’m a huge Java fan, modern versions are amazing, but being stuck on 8 is the only time I’d recommend just using Kotlin or Scala and compiling to v8 byte code. 8 is just a miserable experience.

Do you happen to know some good learning resources (books, etc.) for modern Java versions?

My last job used Java 8 exclusively and it was indeed a miserable experience, but I am contemplating using modern java for my next project.

Re: Unofficial "Tier 4" Rust Target for older Windows versions

#26

The idea of running Rust code on Windows 95 is very funny to me. Two completely different universes colliding.

In my mind the most common cases of people running ancient operating systems are computers in control of hardware. Plenty of hardware lasts much longer than 30 years, consequently there's still stuff out there that shipped with Windows 95 and never got new drivers. If you want new software for that environment Rust sounds like a great choice

Re: Unofficial "Tier 4" Rust Target for older Windows versions

#27
post #23

Earlier quoted context omitted.

Medicine. I'm living in third world country and probably they don't have enough money to upgrade often, they just install something and work with it for many years. Works for them, I guess, I often see computers with 2-4 GB RAM and some ancient Celeron.

Not to be glib, but medical equipment in the first world is the same.

Surely it uses MSVCRT though.

Re: Unofficial "Tier 4" Rust Target for older Windows versions

#28

I wish more languages support old platforms. I'm working in a company and a lot of our customers are running Windows 7 and 8, few of them running Vista. I have to use ancient versions of development tools to target those. For example stuck on Java 8 for eternity. It's PITA.

It's not hard to do either, especially on Windows where backwards-compatibility is almost completely guaranteed. Of course those in the planned obsolescence mindset would fight hard against it, because then it would be harder for us to take the good without the bad.

I really hate my bakery, the buns are only edible for some days, after that, they grow mold!

Without sarcasm, it is entirely reasonable that when the OS is EOL by the 1st party, software support for it by 3rd party also ends soon after that.

Re: Unofficial "Tier 4" Rust Target for older Windows versions

#29

I wish more languages support old platforms. I'm working in a company and a lot of our customers are running Windows 7 and 8, few of them running Vista. I have to use ancient versions of development tools to target those. For example stuck on Java 8 for eternity. It's PITA.

The problem is, as usual, that some people want that support, but nobody is actually interested in helping out with that support - and that doesn't only include people willing to help out with the code, it includes things like CI. Just how the riscv targets won't be able to reach tier 1 without GH or someone else offering CI support.

Rust's target tiers, while historically not as enforced as they are today, have requirements attached to them that each target has to fulfill; demoting a target or removing support isn't done for fun, but because of what the reality reflects. In Windows 7's case, support from the Tier 1 Windows target was not so much removed as it was acknowledged that the support guaranteees just didn't exist - host tools had long been dead with LLVM having removed support for running on Windows 7, and tier 1 support wasn't guaranteed without any CI to test it on. Thus support was removed, and very soon contributors popped up to maintain the win7 target which is tier 3 and accurately reflects the support gurantees of that target.

(Not a jab at your situation btw, and I wish I could offer you a solution beyond the win7 target - but as it's essentially the preexisting Windows 7 support extracted into a target that matched its reality, it works quite well in practice)

Post reply on HN