TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Pros and Cons of Switching from Linux to M1 MacBook

33 点作者 mr_o47大约 4 年前
Hello HN, I would love to know your thoughts regarding switching from linux to MacBook.<p>I’m currently using ArchLinux with i3WM highly customizable with shortcuts

30 条评论

p49k大约 4 年前
As a user of both, my general advice is that working in the Apple ecosystem is an absolute joy if you learn to do everything Apple&#x27;s way instead of trying to customize things to work your way. The more you stray from defaults, the more things break. It&#x27;s basically the opposite of Linux.<p>That having been said, I personally prefer the Apple way, because so much of the ecosystem <i>just works</i> in a way that you will never experience with Linux, no matter how much work you put in (but you do lose out on the joy of tinkering with things). It&#x27;s a matter of preference.
评论 #27005724 未加载
评论 #27005568 未加载
评论 #27005574 未加载
评论 #27005684 未加载
评论 #27005583 未加载
rcarmo大约 4 年前
I use all 3 (including Windows). You are going to want to go down the customisation rabbit hole on the Mac, and be thoroughly unhappy unless you try to understand the way why it is how it is and don&#x27;t try to fight it.<p>That said, since you like i3, let me point out right away that window management on the Mac does _not_ work like you want it, and likely never will.<p>I use Moom (<a href="https:&#x2F;&#x2F;manytricks.com&#x2F;moom&#x2F;" rel="nofollow">https:&#x2F;&#x2F;manytricks.com&#x2F;moom&#x2F;</a>) for manually tiling windows since I can make it 99% consistent with what I have in Windows and Elementary, but I&#x27;ve used Amethyst (<a href="https:&#x2F;&#x2F;github.com&#x2F;ianyh&#x2F;Amethyst" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ianyh&#x2F;Amethyst</a>) when I felt like &quot;going back&quot; to i3, and it is sort of close enough.<p>That said, another important thing (if you intend to do development) is to absolutely not mess around with &#x2F;usr&#x2F;local and whatnot and understand how brew (<a href="https:&#x2F;&#x2F;brew.sh" rel="nofollow">https:&#x2F;&#x2F;brew.sh</a>) works. Use pyenv, rbenv, etc. instead of messing about with system runtimes. Learn to live with the built-in terminal unless you absolutely must use iTerm (which I&#x27;ve stopped using because the built-in one is now plenty good enough), etc.<p>I also have some (old, and in need of update) tips over at <a href="https:&#x2F;&#x2F;taoofmac.com&#x2F;space&#x2F;howto&#x2F;switch" rel="nofollow">https:&#x2F;&#x2F;taoofmac.com&#x2F;space&#x2F;howto&#x2F;switch</a>, but they&#x27;re more focused on the Windows crowd, so take them with a pinch of salt.
评论 #27005765 未加载
评论 #27005706 未加载
评论 #27005825 未加载
评论 #27005674 未加载
评论 #27005708 未加载
评论 #27006927 未加载
评论 #27005655 未加载
评论 #27009825 未加载
zserge大约 4 年前
A long time Linux user myself (Gentoo-&gt;Arch-&gt;Ubuntu), switched to M1 macBook for work recently.<p>The battery life is amazing, and I haven&#x27;t heard the CPU fan yet (seriously, I compile things a lot, but the CPU fan remains idle and the laptop is cold). Real &quot;Esc&quot; key and a normal keyboard is a big plus.<p>In my case one external display was enough (as I only have one at home), also 16GB of RAM turned out not to be a problem for what I do so far (Go&#x2F;C++&#x2F;Python, some backend, some frontend, some IoT). Docker works fine, so does the rest of the tools I normally use.<p>As I mostly use terminal-based apps or VSCode - I didn&#x27;t even notice any difference. It might be just me, but over the last few years I decided to get equally comfortable&#x2F;productive with both macOS and Linux, so I trained myself to use the tools that work the same way on both platforms. So far it was well worth it.
haolez大约 4 年前
I&#x27;ve worked with Windows, Linux and MacOS. Software-wise, Linux was the most pleasant experience. What I think most people enjoy about MacBooks are the incredible hardware (touchpad, display, etc) and more support for commercial applications.<p>Windows has improved a lot with WSL, but it still feels like your computer is not yours - there are ads and some privacy settings keep getting reverted on updates.
评论 #27005641 未加载
评论 #27005632 未加载
评论 #27005643 未加载
评论 #27005821 未加载
blakesterz大约 4 年前
I just made the switch, mostly, from a desktop I built running Ubuntu, to a new M1 Mini. It&#x27;s... I dunno, I&#x27;d give it an OK. I realize now that everyone raving about the amazing M1 speed were comparing that to their old MacBook. It&#x27;s not that the M1 is slow, it&#x27;s just not any faster than my other desktop, and running Docker on it IS slower, much slower. Docker is also weirdly buggy. Docker is also a big part of my workday. I&#x27;ve already had 2 kernel panic crashes from OSX in just 3 months of using it too. For me and my work (I&#x27;m a sys admin), OSX and the M1 are fine, but it&#x27;s not worlds better than my old Linux machine. I&#x27;ll stick with it, it&#x27;s nice having iMessage built in, but Linux was pretty much the same thing (for me and my work).
评论 #27013539 未加载
yamellasmallela大约 4 年前
I used to use Arch with i3-gaps and then switched to mac. I also have an M1 air. Mac OS is way better to use than linux. Everything just works, security is built in, and it has commercial support.<p>I strongly recommend it especially if you have other apple devices because the ecosystem _just works_
评论 #27013522 未加载
simon04大约 4 年前
I&#x27;ve been using Arch&#x2F;Fedora with i3 and us-intl keyboard layout (plus xmodmap customizations).<p>After 5+ months, the shortcut (involving control&#x2F;option&#x2F;command instead of ctrl&#x2F;alt) and keyboard layout (for characters like äöüß»«) still drives me crazy. Daily. It&#x27;s super hard to re-train your muscle memory regarding complex shortcuts from IDEs such as VS Code and IntelliJ. I&#x27;ve found myself to rather use the mouse for certain tasks because I cannot recall the correct shortcut.<p>In those 5 months, I&#x27;ve probably installed 5 macOS upgrades each requiring &gt;6GB download and &gt;30min installation time.<p>Besides that, I&#x27;m very happy with the hardware: overall quality, great touchpad, great performance, no fan in the MacBook Air.
评论 #27005683 未加载
xaduha大约 4 年前
&gt; I’m currently using ArchLinux with i3WM highly customizable with shortcuts<p>If it&#x27;s for work and sticking to defaults isn&#x27;t your thing, then you&#x27;re not going to enjoy it. You&#x27;ll end up using it as a proxy to do stuff in Linux one way or another. Assuming you at least tried Hackintosh or macOS VM before to even consider it.<p>Personally I&#x27;m using Solus and as far as GUI goes it&#x27;s pretty much vanilla Budgie, it&#x27;s command line stuff that is somewhat tailored for me, that&#x27;s all. I&#x27;ve been on the extremes and this is what I ended up with, customizing things is tiresome and a massive time-sink.
评论 #27013576 未加载
eertami大约 4 年前
I had the option of taking an M1 MBP for work, but the M1 MBP only supports a single external display and a laughable (in 2021) 16GB of RAM, so I consider it basically unusable. It certainly feels rushed, if the next generation supports multiple displays and 32+GB RAM then it might be a decent development machine?<p>Linux (with an LTS release) just works, to the point where it is almost boring - which is a good thing for a work machine. OSX on the other hand would frequently break things to the point where I feared software updates. The Catalina upgrade for example killed my install and I had to format my drive.
评论 #27005913 未加载
franciscop大约 4 年前
I was using Linux (Ubuntu latest on a Asus UX305CA) for personal use and Mac at work. I had used briefly Mac as a personal laptop because switching between keyboard layouts multiple times a day was difficult, but turns out prev-generation Airs with faulty keyboard was even worse so I sold it and went back to Linux.<p>Then the M1 came up, which promised a fixed keyboard, great battery life, great performance and backlit keyboard, so I switched over. Turns out, it was exactly as promised! Not much better, but notably not worse as it&#x27;s often true with windows machines (marketing &quot;8 hours&quot; is usually &quot;maybe 4-5 hours).<p>On the hardware side, I love it so far. Battery life when indoors is usually 10-12h (running webdev tools), but I noticed that outdoors at max brightness and with the same tools it&#x27;s more like 7-8 hours. The <i>only</i> thing I&#x27;d change of the computer is the glossy screen for a matte one, so performance in the sun was even better. I don&#x27;t bring my charger with me anymore when working from cafes, which is amazing.<p>On the software side, I knew (from my work machine) what kind of beast I was against. I still haven&#x27;t found a way to properly stop Cmd+Q from killing the current app, which is way too close to Cmd+W for comfort. I will never like that closing the last window of an app doesn&#x27;t actually close the app. I deeply dislike how many hoops I have to jump to install normal software from the internet. Nothing is a major stopper, just small inconveniences with no real &quot;fix&quot; since it&#x27;s a walled garden.
评论 #27005633 未加载
ddek大约 4 年前
Maybe a little late at this point but I&#x27;m starting to try mac so I thought I&#x27;d share.<p>I started trying macos a few weeks ago. If I&#x27;m going to go macos, I&#x27;m going to get one of the next macbooks. Before I drop £2.5-3k on a laptop <i>almost entirely for the OS</i>, I want to know if I actually like the OS. I bought the absolute cheapest mac mini with a view to sell it later.<p>It would take too long to explain why I want to switch, but essentially both windows and linux have different pain points that I&#x27;d just lost the will to work around. A key point is multidpi and fractional scaling. Windows is buggy. Linux&#x2F;xrandr needs no explaination. My experience with wayland was not good.<p>It sounds trite, but macos just works. This is all I care about. Unlike in win&#x2F;linux, I can spend my time doing things I care about, rather than configuring my computer. The most significant frustration is there&#x27;s no way to easily switch windows from the keyboard <i>à la</i> twm. To tile the windows I use rectangle.<p>On to programming. I&#x27;m currently hacking with elixir, which works fine. I&#x27;m still using alacritty as my terminal, with fish, and haven&#x27;t had any problems yet.<p>If everything continues as it is, at the end of the year I&#x27;ll sell the mini and by a macbook.
bartvk大约 4 年前
I switched from Linux to macOS when I moved from Python&#x2F;C++ to iOS development.<p>I felt the change wasn’t all that big. I got my Firefox, terminal, homebrew replaced apt, etc. All the command line tools are there.<p>Under Linux, I just used XFCE so moving to macOS wasn’t a big deal. But lately I’m using Amethyst which is great.<p>The hardware is very nice. Incredible battery life and no driver issues ever.<p>But seriously, why don’t you try it?
prirun大约 4 年前
I bought my first Mac, a G4 PowerBook, in 2005, to develop a Prime minicomputer emulator. I needed a CPU with big-endian byte-order to start this project. I had never used a Mac previously - only Windows and Linux.<p>The first 2 weeks were not pleasant and I almost returned the Mac. But I gradually got used to it, kept it, and did finish the emulator project, which now runs on little-endian CPUs too.<p>Now, 15 years later, I have dumped all my Windows machines, and while I use Linux on cloud VMs, I&#x27;d never try to get Linux running on a personal system. Every time I have tried (4-5x in the last 15 years), it has always turned into a time sink, with various things not working, and I just give up.<p>I am not big into customizing my environment. That also can become a huge time sink, and to me, it&#x27;s for little gain. I need Emacs, some command line language tools, and I&#x27;m good.<p>Where Mac shines for me is: a) everything works without a lot of esoteric research into why my wireless breaks after a sleep (for example); b) Apple has GUI tools to do system administration; c) if I lookup how to do something with OSX, the answers are all mostly relevant. If I lookup how to do something unusual with Linux, like why my wireless doesn&#x27;t work after sleep, there are many answers, but they are all dependent on which distribution of Linux is used, how it is configured, which exact version it is, what hardware I&#x27;m using, what <i>rev</i> of hardware I&#x27;m using, etc. It&#x27;s just a lot more complicated.<p>I love Linux, don&#x27;t get me wrong. I just hate sysadmining it. When I did it regularly because I owned a web company and had to nurse 5 servers, Linux sysadmin was easier because I had to do it, did it often enough that I didn&#x27;t forget things, and had control of the configuration. But sysadmining a Linux laptop is a pain that I&#x27;d rather avoid by just using a Mac.
评论 #27013558 未加载
alex_duf大约 4 年前
I&#x27;ve had to switch to macos for work when I was using Arch with gnome.<p>I&#x27;m very unhappy with macos, and hardware detection is a big issue.<p>None of my logitech Mx Master worked properly (1, 2 and 3) as Apple enforces a weird acceleration curve on the wheel, even when installing logitech&#x27;s software. The latest ones are compatible bluetooth but support for these over bluetooth isn&#x27;t good at all, so I have to use the unifying thingy that logitech gives you.<p>My Bluetooth headset (Bose 700) has this ridiculous bug where when switching codec (starting video call for instance), or turning the headset on and off will move the balance left or right. So for a while I was getting annoyed at bose because my headset was &quot;broken&quot;. No, it turns out it&#x27;s a software bug so annoying that someone wrote an app to fix it <a href="https:&#x2F;&#x2F;www.tunabellysoftware.com&#x2F;balance_lock&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.tunabellysoftware.com&#x2F;balance_lock&#x2F;</a> I remember finding a bug report from 2013, Apple still hasn&#x27;t fixed it. It&#x27;s almost as if they preferred you used their headphones.<p>Then there&#x27;s the user experience, and it becomes more of an opinion at this point. Note that I used Gnome, which isn&#x27;t to the taste of a lot of people so I might be an exception. But with that in mind:<p>Switching window with command tab is unintuitive, instead of switching from one window to another, you switch from one app to another. So going from one firefox window to another is a pain to do with a keyboard shortcut only (actually that&#x27;s also gnome&#x27;s default behaviour).<p>Window management in general is at best very clumsy. I still don&#x27;t get why you&#x27;d want to maximise a window if it makes that application full screen. Splitting your screen to put two windows side by side requires some obscure long press on the green button (or is it with a key modifier?), or to install yet another program such a Spectacle.<p>The file explorer goes to great length to hide the root filesystem from you. It&#x27;s also hard to convince it to open two windows so you can copy paste files from one folder to the next.<p>So none of that is related to the M1 part of your question, and on the plus side these new chips look very attractive. But heck I miss my gnome configuration.<p>edit: balancing my opinion a bit: on the plus side the concept of &quot;App&quot; that is just one file in a specific folder is very relaxing and a great user experience. As dev we&#x27;re kind of forced to use alternative methods to install software, such as brew but I understand that&#x27;s an acceptable trade-off for Apple
评论 #27005875 未加载
bacbilla大约 4 年前
Not an M1 user, but my journey was Windows only for a long time, then moved to a company that required me to work on Mac (and write software for Linux). I then left and started working for myself and bought an entry level 13 inch MBP (2017 version).<p>As a general non-development computer user (i.e. using standard office&#x2F;productivity apps), I really enjoy working within the Apple ecosystem. As others have said, if you work within the ecosystem the way it was intended, it&#x27;s a very positive experience. If you try and fight it, or treat it as Windows&#x2F;Linux, your experience will be less positive (similar to if you try and treat Gmail as if it were Outlook). I&#x27;m a big user of multiple desktops and gestures.<p>For development, I actually use VSCode in remote SSH mode (which is absolutely incredible). I have a reserved t3a.xlarge Linux instance running in AWS which I basically do all my development on. It&#x27;s backed up once a day using AWS Backup. Disclaimer is that I do this through my company so I enjoy a significant tax break on all of this (as a business expense). I can imagine that you might not want to spend your own money to do this.<p>For me, this means my development environment is hermetically sealed and I don&#x27;t get any clashes between my user applications and development applications. I also write a lot of x86 specific software in CPP which runs on Linux. Moving between developing on MacOS with Clang (I always had problems with GCC on MacOS) to Linux with GCC was tricky. The eventual move to Arm by Apple would make this even harder.<p>As a general rule, I try and favour cloud services as much as possible and keep minimal data actually on my machine. I like the idea that I could throw my laptop under a bus and be up and running again very quickly (I basically need a browser, a terminal, and LastPass - any other apps are a bonus). Again, for me the driver is that if I don&#x27;t have a functioning machine, I can&#x27;t work and can&#x27;t earn money. I don&#x27;t particularly care who has my data (within limits).<p>Again, I have a specific set of circumstances and use cases but this is my experience.
wp381640大约 4 年前
The M1 Air might be the best hardware I&#x27;ve ever purchased. It not only matches the hype, it exceeds it.<p>I also switched permanently from Ubuntu on an X1 Carbon - docked into a 4k screen.<p>Unit tests and builds run faster, VS Code for both client and server dev is very responsive (3-4 react &#x2F; python projects open at once with the language servers running), battery life is out of this world - I don&#x27;t even pack my charger when I&#x27;m out on the road all day.<p>The machine just feels very snappy - even with 20+ apps open, videos playing, 50 or so browser tabs, watchdog running for dev (css, uvicorn). I feel like I spend a lot less time waiting on the machine. No fan spinning and barely any heat.<p>I really enjoy switching back now to using Microsoft Office and the Adobe Suite instead of the OSS alternatives.<p>I don&#x27;t think RAM is like-for-like comparable in terms of capacity, because I see a lot less memory pressure on the 8GB air (I didn&#x27;t want to wait the 2 weeks for the 16GB delivery) than on my 16GB i7 X1.<p>The disadvantages come down to architecture compatibility (problems building cryptography and numpy from pypi which was resolved). I offset this by also running a dev server environment on my HP Micro (with ESXi and a bunch of docker machines) over the LAN.<p>I&#x27;ve since switched my primary desktop to an M1 Mini (16GB) driving 2x 4k screens, and will use the Air for on-the-road work and personal browsing.<p>I still have the X1 Carbon sitting on my desk - but find myself using it less and less.<p>The only other disadvantages are number of USB-C ports on the Air - you&#x27;ll probably want a hub with power pass-through. The display on the air also isn&#x27;t the brightest - but still comparable to the X1. The pro is better in this regard. Third disadvantage is inability to access high-end GPU if you require one.<p>There is no real cost argument against the M1 - I don&#x27;t even know how to spec an equiv X1 Carbon with similar performance, but even customizing the upgrade to a similar WQXGA display and 400 nits takes you to $3k+ (AUD) while the M1 air was $1950 (with 512GB). Leaves you change to get an x86 server to put on the LAN [0].<p>I&#x27;m a huge, huge fan of the M1 and endorse it to everyone I know. It really is a game-changer.<p>[0] Geekbench for the intel i7 i7-10510U in the X1 shows 992 single core score 3106 multicore, vs 1700 and 7375 for the M1 air. The display is 1440p (vs 1600) and 300 nits vs 400
评论 #27007942 未加载
dmarinus大约 4 年前
If someone knows a way to keep using a Linux desktop environment on a MacBook I&#x27;m all ears! I&#x27;ve tried several ways, using Parallels, VirtualBox, QEmu, Docker Machine; using rdp, vnc, x2go&#x2F;nx but all aren&#x27;t snappy enough for my liking.
评论 #27006648 未加载
评论 #27009722 未加载
评论 #27006040 未加载
LucidLynx大约 4 年前
The best advice I can make here is &quot;try it!&quot; :)<p>You can buy an M1 MacBook Air to try, and return it to Apple within two weeks if you don&#x27;t like it (or want to switch to another model like the pro).
mraza007大约 4 年前
As someone who has used both a MacBook and Linux.<p>One thing I would say is that macbook is best for people who want everything to work right outside of the box and you have a lot of commercial applications support on MacBook especially Adobe Suite.<p>But for Linux if you are into customization or making it more personalized to your needs then I would say Linux would be best choice but you might end up spending a lot of breaking and fixing things in that process which might use a lot of your time but its worth it since you’ll learn a ton in that process
spamalot159大约 4 年前
Personally I agree with this youtube video by Linus Tech Tips <a href="https:&#x2F;&#x2F;youtu.be&#x2F;ljApzn9YWmk" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;ljApzn9YWmk</a><p>I think the M series chips could be the new standard. However, I am skipping this generation. The Gen 1 products by Apple have historically been under supported and left in the dust after the next generation comes out. I would wait if I were you.
评论 #27005995 未加载
评论 #27006079 未加载
happyjack大约 4 年前
Been thinking the same as OP. I run RHEl on desktop, but have an iPhone. The M1 Macbook looks like an attractive &quot;corporate compatibility layer&quot; when a client wants me to use Office365 or some other crap. Also, the slimness and the insane battery life is attractive. Been on thinkpad keyboards for years, though.
hiyer大约 4 年前
The only disadvantage I can think of is that you won&#x27;t be able to run VMs on it (yet). I have to work on both Windows and Mac, so though I have an M1 (and I love it) I&#x27;m spending more time on a Linux machine these days as I&#x27;m able to run both Windows and Mac on it in VMs&#x2F;containers.
danuker大约 4 年前
I am philosophically against paying companies doing their best to screw customers over.<p>Check out what Louis Rossmann has to say about Apple hardware: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=AUaJ8pDlxi8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=AUaJ8pDlxi8</a>
评论 #27006038 未加载
dvfjsdhgfv大约 4 年前
Of course you will suffer. With any new release of the OS (and you will have to upgrade if you want to be a part of the ecosystem) they will change things as they like and in unexpected ways. If you&#x27;re bent on doing things your own way, you will never win.
foobarbaz33大约 4 年前
I much prefer linux. But yet here I am typing this on a mac mini M1. I love the fact I can play my favorite games without fans kicking in.<p>Both my linux and Windows PC&#x27;s sounds like an air plane is taking off for flight.
dagw大约 4 年前
The big benefit is the hardware. A MacBook will run better and smoother, have much better battery life and much less hardware and compatibility problems compares to an equivalent laptop running Linux.
sys_64738大约 4 年前
Multiple monitors is still a weakness so you’ll need to use a DisplayLink or other USB solution. They’re quite good as they’re supported natively by the OS.
nojito大约 4 年前
Biggest pro is not having to waste time and get sucked into “customizing” and instead just using the computer to do work.<p>Performance is the icing on the cake.
评论 #27005616 未加载
sdevonoes大约 4 年前
The only con as a dev: Vagrant + Virtualbox doesn&#x27;t work (won&#x27;t work?) on M1.
评论 #27009761 未加载
sys_64738大约 4 年前
What’s the best native Emacs client for M1 Macs?
评论 #27021454 未加载