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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Mac or Linux based laptop for development

7 点作者 mraza007超过 4 年前
I’m coming from linux world but after using macbook for 3 months I’m tempted to buy a macbook buy they are pricey and at the same time I don’t wanna leave the Linux ecosystem

8 条评论

dividedbyzero超过 4 年前
It totally depends on what kind of development work you want to do. Windows apps? Then get a Surface Pro or the like.<p>iOS or native macOS apps? Get a Macbook.<p>Web development? It doesn&#x27;t matter as long as you&#x27;re comfortable using the respective OS (macOS or Linux).<p>Data science? If you plan on using the built-in GPU for machine learning, don&#x27;t get a Macbook. The 16&quot; ones have AMD GPUs that aren&#x27;t well-supported for ML, everything below has Intel GPUs which, while plenty powerful for day-to-day usage, aren&#x27;t usable for ML. Get a Thinkpad or Dell with a Nvidia GPU and an Intel GPU, so you can use the dedicated GPU for ML exclusively. If you plan on running such workloads in the cloud (as many do) it doesn&#x27;t matter.<p>Backend work? Depending on the backend, it won&#x27;t matter. PHP, Ruby, Java, Scala, Python, Go, Rust, ... can be done on macOS and Linux equally well. ASP.net and the like will require Windows.<p>Devops-heavy work? If you expect to be running lots of VMs on your laptop, get a Linux laptop with as much RAM as you can cram into it. A 16&quot; MBP with lots of RAM will do, too, but that&#x27;s going to be pricey. If you can run such workloads in the cloud, it doesn&#x27;t matter.<p>If you want the most versatile, also get a Macbook. It&#x27;ll run Linux and Windows virtualized just fine, macOS natively, you can do Android development and iOS development, all in a single machine. Depending on your needs a spec-ed up Air may be powerful enough, still not exactly cheap though. That&#x27;s what I do, but with a 13&quot; Macbook Pro (plus GCP instances for ML training).<p>If you want to stick with Linux in earnest, and don&#x27;t see yourself developing native macOS or iOS apps in the forseeable future, get a Dell or Thinkpad with good Linux support for your distro of choice.
评论 #24300142 未加载
评论 #24300155 未加载
cpach超过 4 年前
It all comes down to a matter of taste really.<p>IMHO: If you can afford it, get a Macbook of some kind. For a laptop&#x2F;desktop, I would take macOS over Windows or Linux, any day. IMHO, macOS has the best apps and the best desktop experience. With Homebrew, you can install ~99% of all CLI utilities that you could run on Linux.<p>I switched from Linux to macOS seven years ago and so far there are no Linux applications that I haven’t found a good alternative for.<p>But to each their own and YMMV.
评论 #24306087 未加载
rvz超过 4 年前
You can still have it all on a Macbook plus with Windows and Linux installed too.<p>Macbooks have the g̶o̶l̶d̶ diamond standard of trackpads from any other laptop you can find. Triple boot Windows, macOS and Linux without any effort or need of &#x27;Hackintoshing&#x27; and in general, Touch ID and Apple Watch authentication in macOS on a Macbook take the pain out of repeatedly typing in passwords for SSH, PGP, password-managers etc.<p>macOS on a Macbook just adds the added extra convenience Apple gives you which doesn&#x27;t exist on any Linux laptop which makes development effortless and gets out of my way.
评论 #24300148 未加载
meretext超过 4 年前
I&#x27;m typing this on my primary machine, a late 2012 MacBook Pro. That&#x27;s 8 years of full daily use, travel, downloads, compiling, running Docker, etc. And I really do mean every single day, morning onwards. Not saying all MacBooks will stand up that long, but my secondary laptop is a 2010 MacBook Air, and it&#x27;s still kicking, though OS upgrades aren&#x27;t available anymore for it. Aside from the keyboard problems of the past few years (one of the reasons I waited to upgrade), I&#x27;ve found them to be very reliable. Even my PowerBook with the Motorola CPU was still running up until a couple of years ago when I cleaned house. And as they can run OSes in VMs (Linux, FreeBSD, Windows ...), I feel the MacBook Pro is the best development platform, and really, best platform for most things. I have mutt installed for email, so you can still run all your CLI &#x27;apps&#x27; if you like. Yeah, it is truly an awesome machine. And this one, 2 months before Apple Care expired, I took it in for a &#x27;checkup&#x27; -- they replaced over $1,100 worth of parts, including the logic board. I hadn&#x27;t noticed anything wrong about the machine, but apparently it didn&#x27;t meet their standards. If you&#x27;re already leaning that way, buy one, use it for a while, and if it&#x27;s not what you want later, sell it and consider the loss as you renting the laptop for that period of time. I could upgrade now the keyboards are fixed, but, well, this still works. Now I think I&#x27;ll wait for the ARM-based MacBooks coming hopefully later this year.
rrao84超过 4 年前
I have done codec development, heavy C++ programming, web development (front end), worked with MS Office exclusively for a year when I was a &quot;manager&quot; and now onto to blogging and copywriting. My trusty companion in all of this has been my Macbook Pro 2015 (Early) and it has never once crashed or stopped working.<p>I have seen so many Windows machines come and go and nothing can hold a candle to a MacbookPro. This is my personal opinion - ymmv. But, if you are looking for a 1-time purchase that will last you atleast 6 years, and you use your machines carefully, then a Macbook Pro is worth the investment.<p>Fair warning: I have no idea how the ARM-based macs are going to turn out.
评论 #24306076 未加载
varbhat超过 4 年前
I am using Thinkpad E14 . I find it perfect for my usecase. It supports Linux 100℅ , built very well, has best keyboard, has flawless efi firmware.
codegladiator超过 4 年前
Get Windows. WSL is great. And the machines powering windows are also great. I recently deleted my Ubuntu 18 setup and using Win 10.
评论 #24306105 未加载
评论 #24303267 未加载
chagaif超过 4 年前
You need both and windows as well.