Hacker News new | ask | show | jobs
by _3u10 1542 days ago
dev workstations should cost at least $4000.

Like how much productivity is being wasted because their machine is slow.

$4000 workstations are cheap compared to staging.

2 comments

Multiply that by the number of employees who need it ... staging is cheaper.
Multiply that by the lost hours waiting for compilation, etc and whether you have staging or not doesn’t matter.
It’s crazy sometimes how big of a difference it is. One recent example - I had to build a custom Docker image of some OSS project. Not even a huge one - only what I would call small-mid size. Just clone the repo and run the makefile, super simple. It took 35 minutes to build on my 2020 Mac Mini (Intel) and would have been probably half that if I had the most recent machine.
Why would I build on a local machine vs running the build on a server in a datacenter? Per your own arguments, server grade hardware is going to compile much faster than any local workstation.
That’s not really true, because of Amdahl’s law you need good single thread perf in addition to a reasonable amount of cores.

Often workstation class processors, like an i9 are the sweet spot, especially with ccache as only one file is being recompiled.

Servers often sacrifice single thread performance for many more cores.

Compile time might be fractionally faster, but the latency of the CI pipeline gets you.
Ah, good old "compiling" [0]. When a worker needs a $4000 machine to actually do his work then it's unavoidable. The slow machine? $2000 out to be enough™ for everyone else.

[0] https://xkcd.com/303/

when I worked for big corp, the reason we were told in engineering for getting $1,000 laptops was that it wasn't fair to accounting, HR, etc for us to have better machines. In the past people from these departments complained quite a bit.

The official reason (which was BS) was "to simplify IT's job by only having to support one model"

Who cares what is "fair"? A decision like that should be based on an elementary productivity calculation. If not the inmates have taken over the asylum.