News for hackers. Stuff that matters.
Re:I Almost Bought a Scanner by Gigachad on Wednesday January 25, 2023 @05:54PM (#34525310)
Apparently the Apple Silicon macs don't have the capability of running 32bit binaries. Since this software is abandoned, it's not like a longer support window would have given them time to recompile the drivers.
Re:I Almost Bought a Scanner by smoldesu on Wednesday January 25, 2023 @06:33PM (#34525716)
Intel Macs do, though; until Apple removed it. Worked fine in Mojave, but me (and many others) one day rebooted our Macs to find dozens of programs, libraries and plugins that no longer worked.

Whole thing sorta smells like Apple trying to further assert the dominance of AArch64, what with their insane stake in the ISA and it's eventual dominance. Not a terrible thing inherently, but the push to depreciate 32-bit hardware and software alike was pointless. 32-bit ARM can (and should) live alongside AArch64 as an ISA. From what I understand, the M1 even has secure 32-bit emulation mode built-in, without any OS functionality to leverage it.

Whatever Apple does, it's hard for developers to treat the Mac like a regular development target now. Besides the ISA change, the push for Metal-agnostic GPU pipelines has left developers scrambling. Massive open projects like Blender didn't even have an Apple Silicon strategy until Apple sponsored one. It's a bit of a mess, and kinda tragic that Apple is pointlessly complicating cross-platform development.

Re:I Almost Bought a Scanner by wombat_trouble on Wednesday January 25, 2023 @06:44PM (#34525818)
For all the hate Microsoft regularly gets, they are pretty amazing about that: I have ancient software that still runs fine on Windows 11 through layers upon layers of compatibility libraries baked into the OS.

I'm sure it's costing them dearly, but there's plenty of niche and industrial hardware like this that lasts much longer than a generation of operating systems, and there's no alternative. Linux pays lip service to compatibility, but ABIs change constantly and it's easy to get stuck in dependency hell. MacOS X is... MacOS X.

Re:I Almost Bought a Scanner by Moru on Wednesday January 25, 2023 @06:48PM (#34525856)
Speaking of smelly: My scanner just broke down last week. The powersupply started smelling burned plastic and then gave up the ghost completely. Can't find a powersuppy fitting the special contact. It has been working since windows 95 or so, was now running windows 10 without problems and without having to install special drivers from the producer. Old was a canon, early USB model.
Re:I Almost Bought a Scanner by snvzz on Wednesday January 25, 2023 @06:04PM (#34525413)
>the Apple Silicon macs don't have the capability of running 32bit binaries.

It could be possible, with emulation, to run even 68000 binaries targetting the original Mac's operating system.

... if Apple cared. They very obviously do not.

Re:I Almost Bought a Scanner by TylerE on Wednesday January 25, 2023 @06:29PM (#34525672)
Given the vast difference in power, it’d probably have been enough to just cascade all the various layers they already have. Arm > x86 > ppc > 68k

Even if each layer loses, say, 50% performance, the fastest 68k was only 75mhz.

(Although now that I think about it I think the handled the 68k/ppc transistion by just making everyone compile for both and slap em into the same binary. Memory is hazy.. it’s been at least 20 years since I’ve touched a classic mac)

Re:I Almost Bought a Scanner by KerrAvon on Wednesday January 25, 2023 @08:12PM (#34526545)
You're confusing the "fat" binary format that allowed developers to ship the same application file for both 68k and PowerPC with the emulator that allowed for compatibility with existing 68k code. Much of the OS and apps remained 68k to the end of classic Mac OS's life.
Re:I Almost Bought a Scanner by Gigachad on Wednesday January 25, 2023 @06:12PM (#34525493)
Yes, Apple only cares about allowing supported software to easily keep running. This means they can implement more modern and secure systems than Microsoft is able to achieve. It's also the reason Windows is plagued with 32 bit software currently in development as MS has no way to push for the removal of obsolete features.
Re:I Almost Bought a Scanner by cm2187 on Wednesday January 25, 2023 @06:33PM (#34525715)
And also the reason why no large company will touch macos (and I imagine it is the same thing server side).
Re:I Almost Bought a Scanner by wizzwizz4 on Wednesday January 25, 2023 @06:25PM (#34525626)
> It's also the reason Windows is plagued with 32 bit software currently in development

What's wrong with 32-bit software? If you don't need more than 4GB of virtual memory, you've got half the memory footprint for pointers.

Re:I Almost Bought a Scanner by Gigachad on Wednesday January 25, 2023 @06:32PM (#34525708)
One major issue is it can't handle dates any further than 2038 which is getting uncomfortably close, especially when you have to handle future dates.
Re:I Almost Bought a Scanner by wizzwizz4 on Wednesday January 25, 2023 @07:07PM (#34526064)
Windows doesn't use UNIX time. The SYSTEMTIME structure can go up to the year 30827. See https://learn.microsoft.com/en-us/windows/win32/api/minwinba....
Re:I Almost Bought a Scanner by kevin_thibedeau on Thursday January 26, 2023 @01:55AM (#34528503)
64-bit time_t works perfectly fine on 32-bit systems. That is completely unrelated to machine word size.