Live data from Hacker News

Unofficial "Tier 4" Rust Target for older Windows versions

github.com

71–80 of 97 posts

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

#71

And here I'm still trying to get an up-to.date Rust running on my outdated OS X (10.10). No luck (though I may not try hard enough).

I knew I'd seen something along those lines:

https://nitter.net/turbolent/status/1617231570573873152

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

#72

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.

What kind of business are you in that you need to be able to support these platforms that have been end-of-life for quite some time? Genuine question.

And how do you get paid when your users that are so broke they're still needlessly on 7/8?

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

#73
MinC for XP and up: (MinC is not Cygwin, you get cc, ncurses, ksh, git and some goodies).

https://minc.commandlinerevolution.nl/english/home.html

IronTCL for XP and up

https://minc.commandlinerevolution.nl/english/home.html

Updated SSL/TLS certs, again for XP and beyond:

https://legacyupdate.net/

Tiny Pascal-like language targetting DOS, CP/M and Unix:

https://t3x.org/t3x/0/index.html It's no Free Pascal but it can do good stuff with very little:

https://t3x.org/t3x/0/programs.html

JimTCL, a tiny TCL with bundled TLS, JSON, Sqlite3 and, optionally, some SDL2 support:

https://github.com/msteveb/jimtcl https://jim.tcl-lang.org/home/doc/www/www/index.html

You can compile JimTCL with MinC under XP, and maybe T3X0 too. With JimTCL you can build a quick TCL expect clone, some netcat clone too with TLS can be done in minutes too, really good for debugging or to create a simple IRC/Email/Gopher/Gemini client in text mode.

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

#74

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 question is how much are people willing to pay for this trouble. Usually industries that stick to very old system did so because they didn't want to invest resources in the migration.

> Usually industries that stick to very old system did so because they didn't want to invest resources in the migration.

That can be the case, but there's also a lot of instance where it's not a matter of not wanting to invest, but that being stuck on an older system is the only option until a larger component also goes EOL or dies and cannot be repaired.

I see this all the time in manufacturing. User control interfaces that run on Windows XP or 2k. Machine is still great, can still get parts & repair it, but the software has long ago since stopped being supported. The manufacturer isn't going to spend 6 figures to replace a machine that hasn't fully depreciated yet.

In these instances, you just air gap it off and you're fine.

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

#75
post #46

Earlier quoted context omitted.

So why the 20 years has no outcomed anything better than 7? The result is malicious.

Define better? I’d prefer modern Debian or Ubuntu over Windows 7 any day

Modern Ubuntu is a laughable example with a lot of untested Rust components added just for the sake of some big corporations.

Defining better OS is almost as complicated as defining better philosophy. Somebody is leftist, somebody is rightist you know what I mean. When you see what's better usually you can not unseen it.

For me Woedows 7 can give:

1. years of uptime (still with regular browsing! and with using S-states!);

2. native support of god-like NTFS, all my personal backups has it;

3. better support on laptops, for example just try to ditch the UnneededD (Devuan) and you are going to say buy-buy to predictabrle S-states, stable USB performance when using multiple devices and who knows what else;

4. the best battery time among all the market;

5. some old hardware like ATI videocard can not be run on modern kernell, also some old hardware like my digital oscilloscope, my friend's digital syntheiser - all of that makes me not just use but love he Bill Gate's crap. You don't even tied to any version of your appreciated Debian.

6. A lot of industry-best software at least requires me to have Wine. Foobar as the best audio player, STDU as the best book reader, Viktoria as the best HDD tester etc. I have a terabyte of music, hundreds gigs of books and dozens of external disk drives, consuming all of that is my typical non-work activity.

7. I also still use it for my daily job which involves using Internets. No viruces gotten, no unexpected behaviour observed, just working.

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

#76
post #72

Earlier quoted context omitted.

What kind of business are you in that you need to be able to support these platforms that have been end-of-life for quite some time? Genuine question.

And how do you get paid when your users that are so broke they're still needlessly on 7/8?

Big assumption there... chances are they would rather keep the money or spend it elsewhere, instead of "unnecessarily" upgrading when things still work

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

#78
post #29

Earlier quoted context omitted.

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 requ…

I do wonder how much support is removed because of genuine maintenance or compatibility burden, because I've encountered enough examples where it was done solely because some target was deemed "too old" arbitrarily, even if it would still work without any modifications.

In Rust or in general? Because an arbitrary "too old" moniker is not something I've seen happening, and the only target that was removed instead of demoted in recent times was i586-pc-windows-msvc, aka Windows 10 without SSE, which was...utterly pointless since Windows 10 requires SSE.

If anything, I quite like the way Rust handles it with target tiers and easy switching between targets, because it's an honest approach about how well a target is supported. Having a win7 target that is tier 3 is a reflection of the support it has, and much better than stringing it along in the main Windows target that promises tested support when there isn't even a Windows 7 CI to test on.

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

#79
post #39
post #17

Earlier quoted context omitted.

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

Malicious? It's almost 20 years old (it will be in 2029).

And? There are barely any API differences between 7 and 10.

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

#80

Earlier quoted context omitted.

Tried to use Nim with VBCC to cross-compile to Amiga, but I failed. I think Nim does some pretty heavy assumptions about the C compiler that is used to compile the generated code.

Just in case you aren't in the loop, but there are gcc and llvm based Amiga cross compilers.

GCC cross-compiling for the Amiga is available from https://franke.ms/git/bebbo/amiga-gcc for a standalone toolchain, and https://github.com/BartmanAbyss/vscode-amiga-debug for one that requires VSCode.

I'm not aware of any working LLVM solution? All I know is that LLVM supports MC680x0 as a backend, can spit out 68k-but-non-amiga-objects and some brave souls have trying to use vlink or mold to produce Amiga executables. Have you seen any working LLVM-based Amiga (680x0 in hunk format) cross-compilers in the wild?

Post reply on HN