News for hackers. Stuff that matters.
Re:Apple announces it will switch to its own processors for ... by nailer on Monday June 22, 2020 @02:53PM (#23604199)
Linux and Windows have both supported ARM for a while now.
Re:Apple announces it will switch to its own processors for ... by txcwpalpha on Monday June 22, 2020 @02:54PM (#23604230)
The end goal isn't just using Windows for Windows sake, the reason people use Windows on mac hardware is to get access to apps that run on Windows. And most of those apps still run like garbage (if at all) on the ARM versions of Windows.
Re:Apple announces it will switch to its own processors for ... by ianai on Monday June 22, 2020 @03:01PM (#23604405)
They showed Maya (x86 binary) running on their Chip. It has some ability to run intel binaries on Apple silicon through at least two options-emulation and something that sounds like “jit interpretations”-lack of a better word.
Re:Apple announces it will switch to its own processors for ... by txcwpalpha on Monday June 22, 2020 @03:10PM (#23604629)
I think that is a slightly different use case, though. That demo was an x86 binary running on ARM MacOS via a translation layer. So if there is a MacOS x86 version of the app you want to run, that might be an option.

But I know a lot of people still run Windows because they want the Windows version of an app, either because it isn't available at all on Mac or just because the Windows version runs better (Excel was a classic example of this for a long time, might still be). In that case, I don't know if that same translation layer will have the same performance (if it can run at all outside of MacOS) when running an entirely different OS.

Re:Apple announces it will switch to its own processors for ... by ianai on Monday June 22, 2020 @03:15PM (#23604738)
FWIW I remember running PowerPC binaries on Intel macs via Rosetta was pretty painless. They mentioned explicit support for linux/windows emulation so they know it’s an important use case.
Re:Apple announces it will switch to its own processors for ... by monocasa on Monday June 22, 2020 @03:28PM (#23605033)
They did not mention windows emulation, only Linux/docker.
Re:Apple announces it will switch to its own processors for ... by justincormack on Monday June 22, 2020 @04:03PM (#23605670)
I don't believe Rosetta will work for linux/windows VMs.
Re:Apple announces it will switch to its own processors for ... by gwd on Monday June 22, 2020 @03:26PM (#23604988)
> “jit interpretations”-lack of a better word.

I think this is called "transpiling" -- a version of compiling that's mainly translating from another architecture. And it didn't sound from their description like it was JIT -- it sounded like it would do the transpile when you first installed it (or maybe first ran it?) and keep the results.

Re:Apple announces it will switch to its own processors for ... by monocasa on Monday June 22, 2020 @03:28PM (#23605025)
Transpiling (as much as I hate that word, because the more you know about compilers, the more meaningless it is), is about source to source translations, not binary translation.

And they have a first pass AOT, with a JIT backup from the sounds of it to support JITs like browsers, node, and java.

Re:Apple announces it will switch to its own processors for ... by mbreese on Monday June 22, 2020 @02:55PM (#23604261)
But you still need ARM specific binaries. If your software doesn’t support your specific flavor of ARM, then you’re out of luck.

(I recently tried to install Zoom on arm64 Debian and it didn’t go so well... Rstudio wasn’t even close to an option)

Re:Apple announces it will switch to its own processors for ... by geerlingguy on Monday June 22, 2020 @03:01PM (#23604397)
I found the same problem when I tried running off Pi OS 64-bit for a day—almost every app that _did_ have a Linux binary available was only able to run under x86_64, not on arm64... More here: https://www.jeffgeerling.com/blog/2020/i-replaced-my-macbook...

Zoom, Bluejeans, Dropbox, pretty much all the popular apps I used where I could find a Linux version for my Dell laptop, I couldn't find a way (though got close at least, with Dropbox) to run them on an ARM64 CPU.

Re:Apple announces it will switch to its own processors for ... by ThatPlayer on Monday June 22, 2020 @04:56PM (#23606540)
Have you tried box86? https://github.com/ptitSeb/box86 Let's you run x86 (not x86_64 though) programs on ARM Linux. It does a neat thing where system library calls are converted to ARM system library calls rather than using x86 ones for better performance.

Lots of games work fine with it too: https://www.youtube.com/watch?v=z-4aGNqZ724

Re:Apple announces it will switch to its own processors for ... by the-dude on Monday June 22, 2020 @04:26PM (#23606057)
For Dropbox, you could quite trivially get by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem.
Re:Apple announces it will switch to its own processors for ... by geerlingguy on Monday June 22, 2020 @09:34PM (#23609070)
Rclone is what I ended up using and it worked decently well.
Re:Apple announces it will switch to its own processors for ... by anthk on Monday June 22, 2020 @03:38PM (#23605213)
Dropbox could run relatively well with qemu user mode.
Re:Apple announces it will switch to its own processors for ... by akerro on Monday June 22, 2020 @03:00PM (#23604376)
...and we need new, more hardware for CI/CD that's just dedicated for Apple OSes. Pretty sure we won't be able to use the 5 unused raspberry pi we have.
Re:Apple announces it will switch to its own processors for ... by gambiting on Monday June 22, 2020 @02:54PM (#23604234)
Like, a joke version of Windows, yes. As a developer, if my machine can't run Visual Studio then it's not interesting to me at all. I can see it being acceptable to people who work predominantly with tools that have an ARM binary though.
Re:Apple announces it will switch to its own processors for ... by geerlingguy on Monday June 22, 2020 @03:02PM (#23604433)
VSCodium works great on ARM64, I was testing it last week when I tried doing some dev work from a Raspberry Pi running the beta 64-bit OS: https://github.com/VSCodium/vscodium
Re:Apple announces it will switch to its own processors for ... by 6AA4FD on Monday June 22, 2020 @03:00PM (#23604384)
Visual studio code has an arm build now [0]. I don't know what regular VS is written on but assuming it's .NET framework I assume a build will show up as the framework itself improves on ARM.

[0]: https://github.com/VSCodium/vscodium/releases/tag/1.46.1 (basically just MS source minus branding)

Re:Apple announces it will switch to its own processors for ... by sudosysgen on Monday June 22, 2020 @03:14PM (#23604706)
VS Code is not what anyone means by Visual Studio in that context. No one uses Windows for VS Code.

Of course VS Code works on ARM, it's an electron app.

Re:Apple announces it will switch to its own processors for ... by bad_user on Monday June 22, 2020 @03:11PM (#23604653)
VS is not built on top of dotNET.

VS Code was expected to run on anything, being nothing more than Javascript & HTML wrapped via Electron.

Re:Apple announces it will switch to its own processors for ... by Dork1234 on Monday June 22, 2020 @03:44PM (#23605333)
I known in 2010 the Visual Studio UI was rewritten in WPF/CSharp, I don't know which UI system they are using in 2019. It is documented in the wiki entry and a few blog posts MS made.

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

Re:Apple announces it will switch to its own processors for ... by nathanaldensr on Monday June 22, 2020 @03:23PM (#23604916)
Visual Studio proper is a mix of C/C++, .NET, and COM.
Re:Apple announces it will switch to its own processors for ... by scarface74 on Monday June 22, 2020 @03:41PM (#23605274)
I use Visual Studio, but I could just as easily use JetBrain’s Rider and be just as content.
Re:Apple announces it will switch to its own processors for ... by nailer on Monday June 22, 2020 @02:57PM (#23604301)
Windows on ARM can run vsCode fine now. Traditional VS is on the way, but you can run x64 Windows apps on ARM.
Re:Apple announces it will switch to its own processors for ... by jfkebwjsbx on Monday June 22, 2020 @03:01PM (#23604423)
Source?

VS is not even 64-bit yet...

Re:Apple announces it will switch to its own processors for ... by ogre_codes on Monday June 22, 2020 @03:01PM (#23604407)
> Linux and Windows have both supported ARM for a while now.

Many people who want dual boot Windows/ Macs want them for games and gamers want the sort of performance you don't get with emulation.

Re:Apple announces it will switch to its own processors for ... by claudeganon on Monday June 22, 2020 @02:59PM (#23604343)
Unless the new ARM chips can handle VirtualBox well, I’ll pick up the last intel model. I have to work with old ASP apps in IE VMs side-by-side with stuff on my Mac every day.
Re:Apple announces it will switch to its own processors for ... by tinus_hn on Monday June 22, 2020 @03:25PM (#23604965)
IE is dead and will be gone before Intel Macs are.
Re:Apple announces it will switch to its own processors for ... by claudeganon on Monday June 22, 2020 @04:21PM (#23605976)
I know, that’s why I run it in compatibility mode in a VM. Just because it’s dead, doesn’t mean there aren’t organizations that have built mission critical web apps that only work in IE and those of us who have the burden of dealing with them.
Re:Apple announces it will switch to its own processors for ... by tinus_hn on Monday June 22, 2020 @04:36PM (#23606236)
You’ll be able to do that for so long that by then you can emulate the whole OS it runs on in a web browser. It’s obsolete after all.
Re:Apple announces it will switch to its own processors for ... by jbverschoor on Monday June 22, 2020 @03:02PM (#23604435)
If it uses the virtualization kit, it shouldn’t be a problem. Unfortunately only veertu, xhive, and part of parallels do so
Re:Apple announces it will switch to its own processors for ... by monocasa on Monday June 22, 2020 @03:09PM (#23604605)
Unless it only allows ARM VMs.
Re:Apple announces it will switch to its own processors for ... by floatboth on Monday June 22, 2020 @03:39PM (#23605238)
They demoed Parallels running an x86 Debian VM
Re:Apple announces it will switch to its own processors for ... by monocasa on Monday June 22, 2020 @03:48PM (#23605412)
Where did it say x86?
Re:Apple announces it will switch to its own processors for ... by r00fus on Tuesday June 23, 2020 @01:10AM (#23610122)
What's the state of using cloud Windows images vs. local for this sort of testing?
Re:Apple announces it will switch to its own processors for ... by claudeganon on Tuesday June 23, 2020 @03:19PM (#23618878)
Dunno. The free Windows VMs I have saved can be reloaded in VirtualBox and used pretty much forever. They can’t run any serious software very well (on my old MacBook anyway), but I’m just using them to support some legacy web apps.
Re:Apple announces it will switch to its own processors for ... by 0x0 on Monday June 22, 2020 @03:00PM (#23604372)
Nobody cares about windows per se. People want to run legacy win32 x86 and x64 binaries.
Re:Apple announces it will switch to its own processors for ... by bdcravens on Monday June 22, 2020 @04:29PM (#23606124)
Not necessarily. I'm working on some hard-core Excel spreadsheets, so the simplest solution was to run Office on Windows 10 in Parallels.
Re:Apple announces it will switch to its own processors for ... by 0x0 on Monday June 22, 2020 @04:52PM (#23606472)
Sounds like you wanted to run office, not windows, which was exactly my point.
Re:Apple announces it will switch to its own processors for ... by bdcravens on Monday June 22, 2020 @05:09PM (#23606698)
Ok, the lack of commas made it seem to me you were only talking about legacy software.
Re:Apple announces it will switch to its own processors for ... by CameronNemo on Monday June 22, 2020 @02:57PM (#23604302)
Zoom does not release binaries for ARM linux.
Re:Apple announces it will switch to its own processors for ... by foldr on Monday June 22, 2020 @03:07PM (#23604559)
No-one runs Linux on Apple laptops these days; it's completely impractical. On OS X, Zoom will obviously recompile their app for the new architecture.
Re:Apple announces it will switch to its own processors for ... by nona on Monday June 22, 2020 @06:24PM (#23607617)
I am – right now even – but I agree it's become impractical.

This announcement is the final nail in the coffin I suppose. I hope some company will come out with great quality, well-designed, minimal laptops. That run Linux perfectly.

Re:Apple announces it will switch to its own processors for ... by foldr on Tuesday June 23, 2020 @07:24AM (#23612481)
If it ran Linux perfectly, it could only do so if the manufacturer maintained its own Linux distribution. Laptop hardware and power management is just too complicated these days for anything else to work well.
Re:Apple announces it will switch to its own processors for ... by fulafel on Wednesday June 24, 2020 @01:45AM (#23624503)
All the Linux users I know prefer to use Zoom in the browser.
Re:Apple announces it will switch to its own processors for ... by goatinaboat on Monday June 22, 2020 @03:21PM (#23604865)
Windows have both supported ARM for a while now

Windows has always been cross-platform, x86, MIPS, Alpha and PPC back in the day. There was even a SPARC build at one point.