News for hackers. Stuff that matters.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by f311a on Thursday October 08, 2020 @01:12PM (#24721315)
Yeah, but there are 10 JavaScript developers for each C/C++ developer.

I'm a Python developer and I can work from laptop. I do a lot of data processing and my laptop can handle development and testing. On production, some of the scripts are running on 64 core machines and use vector operations via numpy and scipy.

Re:AMD Zen 3/Ryzen 5000 announcement [video] by sroussey on Thursday October 08, 2020 @01:33PM (#24721538)
Even JS devs “compile” their code and use multiple threads. And when JS runs, every JS engine uses multiple threads (parsing, running, GC). Just look at how many threads chrome is using on a single web page. No need to throw shade on JS devs and their equipment needs.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by lliamander on Thursday October 08, 2020 @01:52PM (#24721758)
I think OP's main argument is that if you actually need a lot of cores, then you should probably be offloading some of that work onto a server.

I currently use a 6-core mobile H-class CPU for my work that is a mix of Java and JS development, with a bunch of browser tabs and docker containers running, large IntelliJ project, etc. While my system often has a lot of processes/threads running, the main cost of those is in memory utilization rather than constant CPU performance.

I'm not saying that can't use more CPU horsepower, but it's certainly enough for my needs (for now). The main benefit of having more cores for me right now is just to maintain system responsiveness while running a bunch of background tasks, rather than raw throughput of large compile jobs.

Re:AMD Zen 3/Ryzen 5000 announcement [video] by tmd83 on Thursday October 08, 2020 @02:14PM (#24722012)
Kind of the same setup for me. Primarily Java work on a 6 core laptop. Between Chrome absurd RAM/cpu usage, IntelliJ, Gradle, Weblogic memory usage is just super high and cpu is not so little either at times even without build. Add anything extra I'm running for diagnostic, performance tuning and things are very troublesome. And Mac doesn't seem to handle such pressure as gracefully as Linux (though I'm not 100% sure).
Re:AMD Zen 3/Ryzen 5000 announcement [video] by lliamander on Thursday October 08, 2020 @02:23PM (#24722100)
I'm running Linux and things generally feel pretty smooth to me. It wouldn't surprise me if Linux had better multi-tasking support.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by tmd83 on Thursday October 08, 2020 @02:39PM (#24722285)
I think more than better multi tasking it's handling of load when things are at the limit in some fashion whether is excessive cpu or ram.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by f311a on Thursday October 08, 2020 @01:50PM (#24721723)
Yes, but you can't use 105W CPU in your laptop anyway.

In a company where I work, almost every front-end developer uses a laptop with an external display because it's a portable solution.

Re:AMD Zen 3/Ryzen 5000 announcement [video] by effie on Thursday October 08, 2020 @09:18PM (#24725730)
I don't know if you can use it, but you sure can buy it: https://www.originpc.com/gaming/laptops/eon15-x-amd/
Re:AMD Zen 3/Ryzen 5000 announcement [video] by gambiting on Friday October 09, 2020 @04:23AM (#24727914)
Sure, there's also a company called Eurocom which will happily stick a 165W nominal TDP Intel CPU into a laptop case - but there is no way it can run at maximum boost for a very long time.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by notJim on Thursday October 08, 2020 @03:26PM (#24722816)
LOL I'm a "js developer" and the system I work on requires like 10 docker containers. Not sure where this idea comes from that JS developers don't need power.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by AlfeG on Thursday October 08, 2020 @03:55PM (#24723166)
Webpack compilation of hello world projects are insanely long task. If new CPU can reduce this *hit in 20% I will be happy
Re:AMD Zen 3/Ryzen 5000 announcement [video] by effie on Thursday October 08, 2020 @09:20PM (#24725747)
But if people switch to those better CPUs, they will make the compilation even more complex... we just can't win the battle with bloated software.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by hombre_fatal on Thursday October 08, 2020 @11:17PM (#24726411)
None of the main platform client dev tools are lightweight. Xcode and Android Studio are massive and super complex, not just Webpack. Client dev isn't as simple as we like to pretend.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by rowanG077 on Thursday October 08, 2020 @05:56PM (#24724354)
You are just wasting cycles and memory. Don't use docker if you care about performance.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by notJim on Thursday October 08, 2020 @06:34PM (#24724660)
This kind of response is supremely unhelpful. I work at a company with a large team, I'm not just going to tell all 300+ people to drop everything and rewrite the entire dev stack. Docker has become the de facto standard for dev environments.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by rowanG077 on Thursday October 08, 2020 @06:40PM (#24724705)
My comment was flippant because your comment was useless. Of course if you decide to use something like docker you will force yourself into a performance corner. This would happen with literally any piece of software. It's not then valid to use that as a way of requiring a better cpu. No what you need is to get your development environment in order.

Btw docker is only standard for CI systems. Never would I advise anyone to actually use docker for local development let alone 10 docker instances at once. It's just pure insanity.

Re:AMD Zen 3/Ryzen 5000 announcement [video] by notJim on Thursday October 08, 2020 @06:50PM (#24724780)
Why is it not valid to buy a better cpu to have a better dev environment? What does validity even mean here? I was never told I had to check in with you when making decisions. Before docker I remember spending tons of time setting up dependencies locally on machines when starting a new job, or maintaining puppet scripts to do so. And then since machines change over time, and run a different OS, your dev environment never quite matches prod. A $500 CPU is drastically cheaper than the bugs, headache, and time suck of maintaining a dev env.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by rowanG077 on Thursday October 08, 2020 @06:58PM (#24724856)
Of course you can buy a better Cpu. It's not a valid argument in this context. The OP was talking about needing a better CPU because his large C++ project takes a lot of time to compile. That's something inherent to C++ programming. You then make the argument that js devs also require better CPUs because your js project use 10 docker instances. That's not valid logic since docker and js have nothing to do with eachother.

There are many alternatives to docker which don't cripple your computer. Nix is the best one.

Re:AMD Zen 3/Ryzen 5000 announcement [video] by hombre_fatal on Thursday October 08, 2020 @11:20PM (#24726432)
FYI, your objections here don't make sense. Developers of any kind can benefit from better horsepower.

Whether it's having to run a lot of Docker containers, a large C++ project, or a large Webpack project.

Nitpicking and criticizing someone's dev environment is irrelevant.

If you don't like their example, I'm working on a JS project where I run a lot of local VMs to locally test the web client in different configurations. It would continue to be a bizarre response if you thought it was time to tell me to "just use browserstack.com" or something. Software isn't as easy as we think.

Re:AMD Zen 3/Ryzen 5000 announcement [video] by rowanG077 on Friday October 09, 2020 @03:38AM (#24727721)
You misunderstand what I said. I didn't say any developers won't benefit from having a better CPU. What I disagree with is the statement that JS developmant is comparable in this way to C++ dev. In C++ dev the required horsepower is INHERENT because of the language. This is simply not the case for JS development. If you require high horsepower for JS dev it's because you work in a dev environment that results in requiring that horsepower. It is a CHOICE someone made when setting up the dev environment. That same choice could be made for any dev environment and doesn't have much to with JS.
Re:AMD Zen 3/Ryzen 5000 announcement [video] by Macha on Thursday October 08, 2020 @10:09PM (#24726032)
With modern JS toolchains, arguably JS devs care more about top single core perf than C++/Rust/Java devs.