Live data from Hacker News

Run x86 Apps (including homebrew) in the Terminal on Apple Silicon

notion.so

61–70 of 148 posts

Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon

#61

Earlier quoted context omitted.

Taking a screenshot on a mac.

Like the window screenshot? Got it. How does it have the cool fade shadow, automatic?

https://support.apple.com/en-us/HT201361

yes, the drop shadow is automatic if you use the window capture mode.

Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon

#63
are there any benchmarks of x86-64 homebrew ports running under rosetta2 vs the last generation of intel macs?

how about stuff like python, webservers or java apps running in x86-64 linux docker containers?

very curious what the effects are of the new arch on common developer use cases. (without having to recompile/rebuild everything for apple arm)

Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon

#64
post #8

Earlier quoted context omitted.

Does this make brew compile subsequent binaries in x86 though? Or is it purely cosmetic.

Homebrew maintainer here. We don’t officially support Big Sur yet, but installing it via Rosetta will cause it to fetch x86 bottles instead of ARM ones. At least, that’s the plan.

Please make Homebrew’s telemetry opt-in instead of opt-out. I encourage you to follow the good example of how Debian runs popcon (popularity contest).

By having your default be assuming user consent to surveillance, you have produced spyware that reports a user’s track log history to Google via IP geolocation and a persistent unique machine identifier included with the request to Google Analytics every time the user installs a package using brew.

I assume most Homebrew users are ignorant of this fact, because you never demanded informed consent before doing it.

You are part of a troubling and growing trend of remote developers misusing the computers of their users simply because network requests are, by default, invisible to the user. Most users will never consent to such a thing if they are aware of it occurring.

It would be quite nice if, in my new machine setup checklist, I not have to include separate steps to disable my package manager’s spying on my activities in addition to the steps I already have to take to disable the macOS’s spying on my activities.

Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon

#65
post #61

Earlier quoted context omitted.

Like the window screenshot? Got it. How does it have the cool fade shadow, automatic?

https://support.apple.com/en-us/HT201361 yes, the drop shadow is automatic if you use the window capture mode.

By the way, you can capture windows without drop shadow if you hold Option while selecting the window:

1. Press CMD + Opt + 4 to enter selection mode

2. Press Space to switch to window selection mode

3. Hold Opt and click

Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon

#66

I wonder if Nix on macOS could become a better homebrew-killer by supporting Apple Silicon first. We already do aarch64-linux natively and some iOS cross compilation, so that should give us a head start.

Related issue[0].

I moved over from Homebrew to Nix around 5 months ago, haven't since needed to use Homebrew except for casks.

[0] "Support for Apple Silicon (aarch64-darwin)" https://github.com/NixOS/nixpkgs/issues/95903

Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon

#67
post #46

I wonder if Nix on macOS could become a better homebrew-killer by supporting Apple Silicon first. We already do aarch64-linux natively and some iOS cross compilation, so that should give us a head start.

macports is a better homebrew-killer IMHO. Follows MacOS guidelines and frameworks, integrates with the MacOS way in terms of launch agents etc.

I gave up on homebrew and switched to macports after having to change directory permissions one time too many.

Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon

#68
post #46

I wonder if Nix on macOS could become a better homebrew-killer by supporting Apple Silicon first. We already do aarch64-linux natively and some iOS cross compilation, so that should give us a head start.

macports is a better homebrew-killer IMHO. Follows MacOS guidelines and frameworks, integrates with the MacOS way in terms of launch agents etc.

Macports doesn’t install for me with no error messages.

Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon

#69

Huh, so Apple is installing both the ARM and x86 version of apps, even on ARM computers. I guess that makes sense for portability, but I don't know if other parts of the root filesystem are one architecture only, such as the path to the kernel (unless that's a fat binary too?).

What is the binutil to strip the x86? Is it still this command? http://hints.macworld.com/article.php?story=2005081011242266...

--edit-- Sweet it works.

cd /Applications; ditto --rsrc --arch arm64 GarageBand.app GarageBand-arm64.app

Post reply on HN