22 ms·
I remember getting in an argument a few years ago during a budgeting meeting at a job, where the prospect of upgrading our two-year-old Macbook Pros came up. T
by tombert 8y ago
I remember getting in an argument a few years ago during a budgeting meeting at a job, where the prospect of upgrading our two-year-old Macbook Pros came up. This company was a startup that wasn't doing particularly well with money, and I said that you don't need a super-fast laptop to program...especially since this job was Node.js based and none of the work we were doing was processing-heavy.
This started somewhat of an argument with my peers who claimed they needed a top-of-the-line Macbook to do everything because you can't program on anything slower. Management ended up caving and buying the new laptops.
I stand by my point on this though; as a proof of concept, I "lived" on an ODroid XU4 for a month awhile ago, doing all my programming and everything on there. I was happy to get my big laptop back when I was done with this experiment, but I never felt like weaker hardware impaired my programming ability.
- WrtCdEvrydy 8y agoIt's a staple of 'developers' to have fancy Macbooks while essentially just needing a shitton of RAM these days. Programmers don't need bleeding edge, just a lot of RAM.
- bluesroo 8y agoDon't forget the SSD.
- gautamdivgi 8y agoThe ssd is actually needed. My employer encrypts the drives. It’s too slow without the ssd
- ethelward 8y agoWhat encryption are you using? LUKS on HDD is imperceptible for me.
- est31 8y agoThe funniest thing about this is probably that RAM prices have went up in the last 2-3 years. I built my current computer in 2016 and if I had to buy the same RAM that it has today, I'd have to pay more. So for the same money, "newer" means in fact worse. Noting that prices have went down from their peak increase since, but it's still more than the lowest historic price.
- chasil 8y agoMore important than price is trust. The Core 2 Duo/Quad on LGA775 is the last revision of the Intel Management Engine (ME) that can be completely removed. The me_cleaner script recently added the ability to clean this platform. A Q9650 quad-core CPU is the best performance that can be reached on this board. I have two and I have run me_cleaner on both. I do my finances on the one that runs OpenBSD.
- retro64 8y agoI bow to your paranoia. Although I have often wondered if retro computers will become more valuable in the future as the final bastion of electronic privacy.
- icedchai 8y agoIf your tinfoil hat isn't too thick, you can take a modern computer and set it up behind a hardware firewall, or connect over serial...
- pixl97 8y agoAnd then monitor the tons of weird ass encrypted traffic coming in and out of it, hoping that those requests to AWS are some program getting updates and not the contents of your L2. Firewalls are great, and you should have one, but you have to constantly watch and understand everything coming in and out of it. Works ok as a full time job, terrible when you have other things to do.
- antoineMoPa 8y agoRAM? maybe for Visual Studio/Xcode/Android dev. But for any nodejs/ruby/php development, a 10 year old machine with 1GB RAM is perfect.
- matthewmacleod 8y agoBut for any nodejs/ruby/php development, a 10 year old machine with 1GB RAM is perfect. I don't think I'd enjoy the experience of developing on that machine!
- amiga-workbench 8y agoA lot of shops have large and swollen Linux VM's to run your database, web server and interpreter in for consistency with the production environment. If I wasn't running on a Mac at work I could comfortably use containers without the overhead of another VM.
- fiddlerwoaroof 8y agoThe new docker that uses the Mac’s builtin hypervisor works pretty well
- amiga-workbench 8y agoI didn't know about that, I'll give it a look over.
- beatgammit 8y agoYou could always install Linux. I personally would hate running a VM regularly for my job. It just adds complexity without much benefit.
- amiga-workbench 8y agoIt gets worse than that, I'm still on spinning rust, although I do have 21gig of RAM so I can keep my VM's running. Looking forward to putting an inexpensive linux workstation together when this Mac eventually bites the dust.
- matthewmacleod 8y agoSome of them don't – but some of them do, and that improved performance can offer a noticeable productivity improvement. I recently upgraded from a 2015 Macbook pro to a new i9 one, and right now I'm working on a computer vision pipeline for some data – an embarrassingly parallel task. It takes about 15 minutes to run a process which would have previously taken about an hour. This is a direct improvement to my development experience (trust me!) But there are a bunch of different reasons. Modern stacks can be annoyingly under-optimised; a large Webpack app with live reloading can be irritatingly slow even on recent machines. Fast SSDs are useful for people working with large datasets. Better GPUs can mean better UI performance and more screen space. In short, remember that just because you don't need the hardware, doesn't mean that others don't! :)
- acura 8y agoAnd on a none portable computer you could probably do it even faster. Maybe you need a laptop but there are tons of peoples using laptops that doesn't needs to.
- throwaway-hn123 8y agoHe literally said that some people need faster computers and some don't > Some of them don't – but some of them do What is wrong with you?
- matthewmacleod 8y agoI think that's pretty much what I said, right? Not everybody needs a laptop, or a super powerful development machine. But if you want to process some stuff nice and quickly, while not being tied to any physical location, it's a totally reasonable solution.
- jschwartzi 8y agoThe wonderful thing about a laptop is that if I want to go sit by a window for an hour while I'm working, I can just stand up and move. A desktop chains me to my desk, deep within the heart of a dimly lit cubicle farm.
- 8y ago
- maceurt 8y agoFurthermore, the mac os is seriously impaired compared to linux.
- gcb0 8y agoeven windows have better UI. on a Mac you can't even alt-tab between two terminal windows. ridiculous.
- frou_dh 8y agoWhat's ridiculous is condemning something based on your own ignorance. The keyboard shortcut is Cmd-Backtick ("Cycle Through Windows") and it works in all macOS applications. There's simply a more sharply defined distinction between applications and windows. Cmd-Tab is for application switching.
- gcb0 8y agoyou happen to be talking to someone graduated in UX design. and from my high horse I often don't fall for personal taste when writing UI critic :) if the user wants to move to a terminal window they have open in the background, which key combination do they press? alt+tab or alt+backtick? they have to stop and actively think about which current window is highlighted. is it the browser? or another terminal? this completely kills the action fluency of a keyboard shortcut.
- tkxxx7 8y ago> is it the browser? or another terminal? This is generally a non-issue, but even if you are getting tripped up consistently, the OS literally tells you at all times what application currently has focus
- bytebuster 8y agoof course you can, it's just another hotkey.
- Ultimatt 8y ago
- sergiotapia 8y agoSounds like you never worked on a monstrosity that requires 9 different docker processes running. Java, Scala, Postgres, damn. Even on a top of the line macbook pro that shit chugged. And the laptop would get HOT.
- rhinoceraptor 8y agoI think that's just the Docker for Mac client (and Hypervisor.framework). I think the disk I/O performance was bad, the last time I used it was for Node.js/Postgres about two years ago. I was able to really speed up the integration test suite by disabling fsync for Postgres. If you were running native Linux it should be a lot faster.
- eeZah7Ux 8y agoThat's what servers are for.
- sergiotapia 8y ago100
- dkersten 8y agoSSD's really help a lot too. SSD's and a reasonable chunk of RAM (whether reasonable is 8 or 16 gigs depends on what you're doing, I've never needed more than 16). Anything else is not so important for normal development. A fast SSD definitely helps as without one, IMHO waiting on the disk I/O is typically the bottleneck. Hell, I did a lot of (hobby, not work) development on an eee PC netbook a few years ago. Besides the discomfort that a small screen and sub-normal keyboard brings, it was a reasonable experience. I didn't have to run slack then though. Obviously it depends on what you're doing though. Processing data? Running a ton of tools all at once? Differing workflows and requirements have different hardware needs.
- AnIdiotOnTheNet 8y agoI think the existence of SSDs are why modern OSs are borderline unusable on HDDs. It is kind of ridiculous how much passive IO there is, and how ridiculously long it takes to launch or open things.
- dkersten 8y agoYou're probably right. Applications definitely are a lot more lax on resource consumption. I've sat down and enumerated the things I do daily on my computer versus what I did back in ~2000. Besides streaming (youtube, netflix and spotify basically), its pretty uncommon that I do anything that I couldn't or didn't do back then. The performance of these things, now, seems about the same anecdotally. Maybe it was a little slower then, but not so much slower compared to the hardware performance difference. It makes me sad. Also, as I said in other comments, I once developed hobby projects on a netbook. I of course ran a minimal system and didn't run resource hogs like slack. I'm currently using a cheap laptop running a minimal system (but unfortunately I do need to use slack, chrome, docker for work). They run fine. I think developers or companies have decided that developer time is more important than performance and resource use of their products, punting the cost of that onto their customers. If my work didn't require it, I would definitely switch to more resource conscious tools and I'd be a bit happier. Oh well.
- 8y ago
- bunderbunder 8y agoEven that depends on the dev environment. If you're using a lot of virtual machines, sure. If you're working on something that's inherently RAM-hungry like video processing, sure. If you're working against a local database server, maybe. If you're using something like IntelliJ or ReSharper (but not necessarily Visual Studio), then, <sigh>, yeah, I guess. If you're doing Web development, OTOH, it's probably better if you not have much RAM. If front-end, because a significant percentage of your users will be using low-RAM devices like smartphones and Chromebooks, and you shouldn't need any more RAM than they do. If back-end, because the production servers will (hopefully) be handling a lot more load than what you're doing in testing, so if you get too comfortable with treating RAM as a plentiful resource in development, that's going to be a recipe for scalability problems.
- andyidsinga 8y agoWhile I generally agree with that - more ram is better. I was doing android os builds a few years ago for a wearable project and using the -j make arg reduced build time significantly.
- sascha_sl 8y agoOur Scala teams disagree. I do mostly Go, and yeah, there it doesn't matter as much, but you should see some of the build times on these services. There isn't even a big scary monolith left in our architecture (besides a frontend in node). Oh, and let me not forget minikube.
- epistasis 8y agoI feel the same way, honestly. I do wonder if the programming environment has a huge impact on this though. Did you colleagues use an IDE of some sort? If you're a vim or emacs user, the editor doesn't require much. If your compiling a ton of C++ then maybe a faster processor would help.
- tombert 8y agoI think one of them used Webstorm, I was using NeoVim, and the rest were using SublimeText. I feel like if we were doing something that required C or C++ (e.g. video processing or data-training), then they might have had a point about wanting to upgrade, but we were doing a lot of fairly typical Node.js REST stuff, something that could fairly easily run on a Raspberry Pi.
- arvinsim 8y agoFrom my experience, IDEs benefit the most from more RAM.
- isostatic 8y agoSome things are helpful -- large clear display, good keyboard That's why I prefer older equipment, especially laptops which have proper keys and a matte screen.
- SketchySeaBeast 8y ago> proper keys Yes, please give me a full keyboard, and don't put things in weird places. My current machine has "Fn" where "CTRL" should be and it's driving me crazy. Also, the "PgUp" and "PgDown" are directly above left and right keys and I inevitably hit them when I'm jamming the keyboard with my meathooks. I don't need a number pad, but if you're going to give me nonstandard buttons, put em somewhere I can't hit em while I'm trying to do actual work.
- vel0city 8y agoIn many laptops with Fn and Ctrl swapped there is often a setting in the BIOS to switch their positions. I know Thinkpads have this ability, and I feel pretty certain other brands can do this as well.
- ja27 8y agoNot this Asus I have. I'm ready to cut some traces and solder jumper wires to rearrange this POS.
- PhasmaFelis 8y agoYou can remap any keypress that reaches Windows by editing the registry, as described here: https://www.experts-exchange.com/articles/2155/Keyboard-Remapping-CAPSLOCK-to-Ctrl-and-Beyond.html https://www.experts-exchange.com/articles/2155/Keyboard-Rema... (2011, but works with Windows 10) Unfortunately many "Fn" keys are handled purely in hardware and Windows can't see them. But it might be worth a look, if you haven't already tried it. AutoHotKey is also useful, especially if you want more complex hotkeys.
- estebank 8y agoI feel that slower cheaper laptops with good battery life coupled with a compiling desktop/cluster you can ssh into is the best trade-off.
- moftz 8y agoPlus, when that cheap laptop breaks or gets stolen, I can easily replace it. A $100 x200 in my bag and a $2000 dev server at home/work is much less of a risk than a $3000 MacBook Pro in my bag. It's nice to have all the power you need in your hands but it's also nice not putting all of your eggs in one basket.
- digsmahler 8y agoOne of the great beauties of working with scripting languages, they work just fine on lighter laptops. The MacBook Air is a great machine for the node/python/php programmer on the go.
- Sileni 8y agoRunning an old T440 Thinkpad to do my work programming. Mostly doing data analysis. Never ran into an issue with any kind of speed or capacity, and I love the keyboard. I have a gaming laptop as well that I don't bother to carry around. It's just not necessary unless you're doing GPU programming or model training. Even then, I'd rather just work with a cloud instance. Devs, you're supposed to know how to make a computer meet your needs! Don't outsource it to someone else. Even 5+ year old computers run pretty damn quick if you use a lightweight linux distro.
- jshowa3 8y agoMost Devs don't want to deal with hardware restrictions. Its a lot easier to just get a good, general all rounder instead of coding on a dinosaur. Many lightweight distros barely have any meaningful functionality and usually require all interaction with the console to get even basic things usable. And quite frankly, even though you can do more with a console, its a lot easier to remember how to do things with a GUI then without one. Older hardware generally means older, unsupported, unsecure drivers as well. Also, I'm confused as to why you claim that you shouldn't outsource to someone else, yet you're fine with working in the cloud...
- c22 8y ago> And quite frankly, even though you can do more with a console, its a lot easier to remember how to do things with a GUI then without one. I don't know about this. Whenever I do something unfamiliar/complicated on the command line I copy every command I used to a text file for later reference. Repeating these actions in the future is as easy as copy and paste. If I figure out how to do something in a GUI and I don't have to do it regularly I will almost certainly find myself flailing and clicking around randomly when I have to do it again in 10 months.
- alkonaut 8y agoI don't always need a powerful machine but I sure want a powerful machine. I consider it part of my compensation. Working with a slower machine or a smaller screen is the same as working with an uncomfortable chair or lower pay.
- yoz-y 8y agoA two year old machine, assuming it was top of the line at the time of purchase, should be plenty fine for almost anything today though.
- TheJoYo 8y agoI've prob been on the other side of that argument. I usually advocate for allowing developers to pick their laptops rather than coming up with a one size fits all solution. This started when my company started buying Skylake HPs for all new hires because they were "cheaper". They were only cheaper because they were comparing them to current gen MBPs. As a result we were stuck with TN panels and 8 gbs of ram. I would rather have a $400 chromebook with an IPS display at that point, easily 1/2 to 1/3 of the price.
- 013a 8y agoI recently upgraded from a 2013 MBP to a 2018 MBP. The time to do a simple development recompile of our big monolithic web application dropped from ~1 minute to ~10 seconds. This is a process that is done about 20 times every day. Over the course of the year, this will save ~72 hours in development time. Of course, it's not a strict comparison because I would always do other things while waiting for it to compile, but it's still a massive boon to productivity. I understand that we want to live in this perfect world where all software is designed to run on 2008 era laptops. That's not the world we live in. It's Fantasy. I implore everyone to keep fighting for it, but Reality is what matters to businesses, and the reality of most businesses is that software is insanely complex, poorly designed, and it still generates revenue; more often than not enough revenue to afford the best machines to support running it.
- carlmr 8y ago>Over the course of the year, this will save ~72 hours in development time. Of course, it's not a strict comparison because I would always do other things while waiting for it to compile That, in my experience, actually makes it worse. As soon as you start doing other things you multitask, forget where you were at, lose the zone, and lose much more developer time than that 1 minute.
- TheRealDunkirk 8y agoYes! And I think the limit is about 6 or 7 seconds for me. SQUIRREL!
- slantyyz 8y agoI would think that the performance difference between a 2013 and 2018 MBP would be significantly larger than the performance difference between a 2013 and 2015 MBP. Having said that, MBP to MBP comparisons are not always apples to apples (sorry about the pun). You need to compare MBPs with CPUs from the same family as well.
- carlmr 8y agoI'd say it depends on what you're programming, but for most programmers they indeed don't need that much. If you force your devs to use inefficient tools it might be necessary though. Like our customized Eclipse that needs 8GB RAM. It starts page swapping if you have only 8GB. Other than that I'd say you need good keyboards and good screens. The processing power usually doesn't make you better.
- leeter 8y agoI remember getting to my first Job and they had Pentium4 based machines (the last stepping that supported x64) with exactly 4gb of ram. They were dog slow but it also meant we were able to see and address performance problems early because they were more pronounced. I remember taking one bug from taking an hour to run to less than a second.
- sephoric 8y agoI kind of wish I was in that boat right now. I made a highly praised window manager[0] for macOS that some people[1] have reported some performance issues with. But I can't reproduce the issue, possibly because I have 16GB of RAM and don't use it all. Maybe I don't have enough Electron apps running and should install Slack and others (I run Slack in Safari when working with clients), not joking that literally seems to be the main environment difference. [0] https://sephware.com/autumn/ https://sephware.com/autumn/ [1] http://brettterpstra.com http://brettterpstra.com
- oever 8y agoHave you tried debugging it in a throttled VM or with valgrind?
- jwr 8y agoI really dislike generalizations. If you can use an old computer for development — great, I'm happy for you. But please don't assume everyone can, or wants to. For my type of work, no CPU has enough single-core performance (I need quick bursts). And since programming is what I do several hours every day, it is quite an important part of my life, so I'm not willing to torture myself on old hardware just for the sake of it.
- throwanem 8y agoI see no such generalization or assumption in the grandparent comment.
- perfunctory 8y agoOn the one hand I agree. I personally don’t need the latest spec to be productive. On the other hand computers are so cheap relative to developer’s salary - you can almost buy a new one every month.
- kevin_thibedeau 8y ago10 year old laptops are still portable supercomputers. There is zero reason for them to be slow. The problem is bloated code that expects to use excessive amounts of system resources.
- slantyyz 8y agoIn some organizations, replacing top of the line notebooks frequently is less about productivity than employee morale. Sometimes that cost is worth it, sometimes it is not.
- bunderbunder 8y agoI used to do in-house development at a shop that had a great policy on that front: Developer machines were always a generation behind the workstations of people who would be using the software they write. And a strong culture of belief that, if a developer couldn't get something working well enough in that kind of environment, then that should be taken as a reflection on basically anything but the developer workstation. Inefficient code, excessive memory usage, just plain trying to do too much, bloat, whatever. But I realize that's a hard thing to sell. A lot of developers don't really appreciate being reminded who works for who.
- blfr 8y agoDeveloper tools often have much higher requirements than the resulting product. Not everyone is using vim.
- bunderbunder 8y agoNot a valid excuse. The end users have their own productivity apps that eat up their system resources, too.
- magduf 8y agoIn the minds of developers, the end users shouldn't be running any other apps than the the app that the developer is working on.
- rafiki6 8y agoCorrect, it seems much better to create a test bed environment emulating this, rather than artificially constraining a person own development environment due to some poorly thought out policy which is actually likely a way to save money.
- esoterica 8y agoThat's a complete non sequitur. The grandparent comment is not talking about how resource intensive background apps affect the performance of the product, it's talking about how the development tools themselves may not run smoothly and efficiently on shitty hardware if they are resource intensive.
- puzzle 8y agoI remember that third party developers for BeOS had machines (BeBoxes, PowerPC 603) with 16MB (not GB) of RAM, but internally Be engineers had to use 8MB systems. It did seem to have positive consequences at the time...
- camgunz 8y agoI 100% agree until we start talking about compile times. If you're a Chromium dev, you can't use an ODroid.
- C1sc0cat 8y agoWhy not upgrade to more powerful desktop pc's unless your developing native mac software you don't "need" to use macs to develop on
- stronglikedan 8y agoAs well, you don't need the overhead price of a laptop, especially as a startup. At my job, we're nowhere near a startup, but only well-established, well-trusted employees get a laptop.
- jacobsenscott 8y agoThis only makes sense if you pretend developer time is free and low morale has no effect on productivity. 10 minutes of lost productivity a day due to inadequate hardware means you are paying at least $4k per year per dev for that shit pile of a laptop. Usually it costs more than 10 minutes a day too. The hit to morale when you tell a professional they can't pick their tools is even worse. Now they are spending at least 1 hour a day looking for a new job because devs are good enough at math to know if you can't afford a new laptop you've got six months of runway tops. If you believe employee happiness has any correlation to productivity you always buy them whatever hardware makes them happy. It is a small price to pay.
- jseliger 8y agoThis conversation reminds me of that conversation from a day or two ago, when a writer argued that, if you're trying to hire senior engineers, you need to woo them, rather than expecting them to woo you. In high-end job markets, hardware is so cheap compared to salary, etc. that there is no reason not get the top stuff. If you don't, that may impinge productivity, and in addition it will send a very negative signal.
- munk-a 8y agoHonestly this doesn't just go for high-end jobs. If you're a coffee shop and refuse to shell out for some nice stools for employees to take a rest on then you're just not using math. All labour in the US costs far more than a decent chair or a nice ergonomic keyboard and mouse, a hands free headset... All of these things are peanuts compared to the costs of employing someone.
- grawprog 8y agoYup. I really appreciate working a place where my employer understands this. Any tools, equipment, technicians we need to bring in...anything...we just say and we get it. The difference between this and my last job where we used equipment until it broke down...and then had to keep using it...where even a pair of earplugs seemed to be a source of stress...it's like night and day. I honestly don't think I could work for a company that cheaps out on equipment and supplies anymore. The difference it makes every day to the quality of not only the work I do, but the working conditions for me and the people I work with is worth it.
- agumonkey 8y agoCausing the race between bloated environment and ultra performant hardware to carry text editing. Many times I've observed that people running programs on older hardware realized stupid design non-decisions. Fast ~= blind.
- bengale 8y agoIn my experience hardware is the cheapest part of hiring staff and I've found providing the best equipment that the employee wants its a cheap way of aiding retention. Penny pinching is pretty stupid in the medium to long term.
- deleted 8y ago[deleted]
- jek0nci 8y agoAt a previous gig in the financial world, we had 2013 vintage MB Airs with maxed specs cranking out Scala for a card processing platform. This was right as the term microservice was becoming better known. We were building a very de-coupled, stateless design, passing messages among services. The MB Air was fine. We did a lot in the cloud as far as testing. Write code -> push -> get test results These days so much of the work is “fill out yml files”. I see little value in having this 2017 MacBook Pro 15 with maxed specs. Having anything more than Firefox and my editor on the laptop seems useless. Others workflows may vary. But for devops, security, and a great many common roles, anything above a mid-spec MB Pro 13 feels like overkill
- techntoke 8y agoIf you're running Docker and minikube locally on a Mac (both DevOps tools), then it can be important.
- emgee_1 8y agoI have an iMac and a MacBook pro 2015 ; I wanted a Unix like OS. My youngest sons use the iMac and MacBook for games essentially. I have a much older hp 600 notebook with openbsd. This perfectly fits my needs: emacs, TeX, a browser and some R. No need for Bluetooth either. I guess I paid the premium with the Macs for the build quality and the screens. Never cared about any of their apps and brewed what I needed ( openbsd provides everything I need ( except yet for pandoc) Ymmv.
- jjrh 8y agoOnly argument I really buy when it comes to needing bleeding edge hardware is if you're doing something like game development where it's reasonable you might be compiling, testing, and running a big IDE. This whole "productivity increase for saving 10 minutes" is a little silly, people take breaks, get coffee use the bathroom, etc. Most folks I know doing processing heavy stuff do it all on a remote server. With a few exceptions, I think it really comes down to people want nice toys.
- deleted 8y ago[deleted]
- deleted 8y ago[deleted]
- kakwa_ 8y agoAnd nobody suggested buying desktop workstations? A laptop is generally roughly half the speed of a decent decent desktop. And from experience, even if mobility is sometimes useful, it's hardly the norm. Personally my laptop is used maybe 5% of the time at most outside of my work desk. Cheap laptop for emails, meetings and occasional ssh into prod + powerful workstation would be a better option for me, and I'm guessing I'm not an exception. And this option is cheaper than a high-end Macbook pro.
- theknarf 8y agoIf you're going to be developing in Visual Studio Code, run Spotify and Slack, as well as a few other Electron / Chromium apps then I can understand why someone would want top of the line computers.