←back to thread

1080 points antipaul | 5 comments | | HN request time: 0.415s | source
Show context
Aperocky ◴[] No.25065701[source]
ARM is the future, at least in laptops.

Apple lead the fray again, it's incredible.

replies(3): >>25065872 #>>25066646 #>>25090458 #
1. systemvoltage ◴[] No.25065872[source]
I have a burning question: Can I use gcc, python, etc. on the new M1-based Macbooks? I am thinking about getting one but not sure if I can use it as a development machine. How does rosetta translation layer work with brew apps and other binaries?
replies(4): >>25065910 #>>25066139 #>>25066206 #>>25066218 #
2. knolan ◴[] No.25065910[source]
They showed this during the previous transition announcement. They flashed up a screen of various open source tools that they’ve tested. It even included Blender.

Here is the image: http://www.cgchannel.com/wp-content/uploads/2020/06/200623_A...

3. lawnchair_larry ◴[] No.25066139[source]
Brew would just compile the ARM version and it should work the same for the most part. Same as running Linux on ARM (like raspberry pi).

I’m not sure if it supports it immediately, but this isn’t a difficult change, so it will certainly come soon.

4. jsjohnst ◴[] No.25066206[source]
I don’t have an M1 yet, but the things you mentioned work perfectly fine on my Developer Preview hardware, so I don’t see any reason they wouldn’t on the production hardware.
5. my123 ◴[] No.25066218[source]
Yes you can.

For GCC targeting arm64 macOS, the dev branch is at https://github.com/iains/gcc-darwin-arm64/ currently.

For Rosetta, everything runs except virtualisation apps.