Jump to content

6 cores vs 4 cores for programming?

Go to solution Solved by paprikman,

You don't need more than 1 core for programming, but u do need more to run your application smoothly.

For your needs 4 cores will be enough.

Hello, and thanks for reading this already!

 

I can get a 5820K instead of a 4790K for 100 more. Should I do it for programming with things like C#, HTML, Javascript etc?

 

Thanks in advance!

Basic guide to CPU's!

If I said I were 14, you would call me a kid. If I say 70, you’ll entitle me too old. If I say 20 you say I’m inexperienced and if I say 40 than I'm too boring.

龴 ͡ↀ ◡ ͡ↀ龴#locked( ͡͡ ° ͜ ʖ ͡ °)

Link to comment
Share on other sites

Link to post
Share on other sites

4790k is already a overkill you could code with a 30$ celeron

Spoiler

CPU: i7-5820k @ 4.4GHz Motherboard: Asus X99 Strix  Graphics Card: Gigabyte 980Ti G1 Gaming Memory: Kingston HyperX Fury 24GB (3x 8GB) Hard Drive: 1TB WD Green SSD: Samsung 950 Pro 250GB CPU Cooling: Corsair H100i Power Supply: EVGA G2 850W Case: Corsair 400c Mouse: Logitech G502 Keyboard: Asus Strix (mx reds)  Monitor: BenQ XL2730Z 1440p@144hz OS: Windows 10 Professional 64-Bit Laptops: Lenovo Y50-70: i7-4720HQ - 16GB RAM - 256GB SSD - GTX 960m 4GB - MacBook Pro (Early 2016) 2,0GHz i5 - 8GB Ram - 256GB SSD Phone: iPhone 7+

 

Link to comment
Share on other sites

Link to post
Share on other sites

You don't need a powerful CPU for that. If you want a good multithreaded CPU for less, go for the Xeon E3-1231v3 and save yourself money for 1. aftermarket cooler that you would need to overclock 4790k and 2. cheaper motherboard cause you don't need Z97 chipset for a Xeon, B85/H81/H97 are better.

CPU: AMD Ryzen 7 5800X3D GPU: AMD Radeon RX 6900 XT 16GB GDDR6 Motherboard: MSI PRESTIGE X570 CREATION
AIO: Corsair H150i Pro RAM: Corsair Dominator Platinum RGB 32GB 3600MHz DDR4 Case: Lian Li PC-O11 Dynamic PSU: Corsair RM850x White

Link to comment
Share on other sites

Link to post
Share on other sites

if you're worried about compile times...

 

otherwise you could do it on a via nano...

Link to comment
Share on other sites

Link to post
Share on other sites

single core

Long live Stalin, he loves you; sing these words, or you know what he’ll do!

Link to comment
Share on other sites

Link to post
Share on other sites

if you're worried about compile times...

 

otherwise you could do it on a via nano...

and by compile times you mean half a second

 

In all seriousness, you don't need a good cpu for programming unless you really know what you're doing and are actually hammering your cpu hard.

Low voltage mobile i5 c programming ftw

Home is where the heart my desktop is.

Link to comment
Share on other sites

Link to post
Share on other sites

you dont need much power for coding but for other stuff like rendering and physics and more it will benifit from more cores, thats the reason why @valdyrgramr got an amd 9000 series over an i5(for the same price i believe)

Spoiler

My system is the Dell Inspiron 15 5559 Microsoft Signature Edition

                         The Austrailian king of LTT said that I'm awesome and a funny guy. the greatest psu list known to man DDR3 ram guide

                                                                                                               i got 477 posts in my first 30 days on LinusTechTips.com

 

Link to comment
Share on other sites

Link to post
Share on other sites

and by compile times you mean half a second

well.. large projects can take a while.

 

the biggest thing i have takes a good minute or two to compile, and another minute or so to load up.

 

EDIT: on a 2nd gen mobile i7 (quad core)

Link to comment
Share on other sites

Link to post
Share on other sites

I assume he is worried about compiling, not just writing code.... lol. If the program is multithreaded the more cores would help, but I bet it wouldn't make any real difference. A 4790k is pretty damn fast.

Rig: i7 13700k - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Assorted SATA SSD's for Photo Work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - XT45 X-Flow 420 + UT60 280 rads - - EK XRES RGB PWM - - Fractal Define S2 - - Acer Predator X34 -- Logitech G502 - - Logitech G710+ - - Logitech Z5500 - - LTT Deskpad

 

Headphones/amp/dac: Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/ Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x4 TB WD Red RAID Z2 - - Corsair 750D - - Corsair RM650i - - Dell H310 6Gbps SAS HBA - - Intel RES2SC240 SAS Expander - - TreuNAS + many other VM’s

 

iPhone 14 Pro - 2018 MacBook Air

Link to comment
Share on other sites

Link to post
Share on other sites

Spoiler

CPU: i7-5820k @ 4.4GHz Motherboard: Asus X99 Strix  Graphics Card: Gigabyte 980Ti G1 Gaming Memory: Kingston HyperX Fury 24GB (3x 8GB) Hard Drive: 1TB WD Green SSD: Samsung 950 Pro 250GB CPU Cooling: Corsair H100i Power Supply: EVGA G2 850W Case: Corsair 400c Mouse: Logitech G502 Keyboard: Asus Strix (mx reds)  Monitor: BenQ XL2730Z 1440p@144hz OS: Windows 10 Professional 64-Bit Laptops: Lenovo Y50-70: i7-4720HQ - 16GB RAM - 256GB SSD - GTX 960m 4GB - MacBook Pro (Early 2016) 2,0GHz i5 - 8GB Ram - 256GB SSD Phone: iPhone 7+

 

Link to comment
Share on other sites

Link to post
Share on other sites

Programming! 1 core is enough.

Intel Core i3 2100 @ 3.10GHz - Intel Stock Cooler - Zotac Geforce GT 610 2GB Synergy Edition

Intel DH61WW - Corsair® Value Select 4GBx1 DDR3 1600 MHz - Antec BP-300P PSU

WD Green 1TB - Seagate 2.5" HDD 1TB - Seagate Barracuda 500GB - Antec X1 E.

Link to comment
Share on other sites

Link to post
Share on other sites

@Stijncat programming can be done on anything, it's just text editing. My dual core AMD CPU can handle it

it's about what programs will be ran to test the stuff. Google Chrome for websites or something will be ez pz, but game engines are a different story.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

well.. large projects can take a while.

 

the biggest thing i have takes a good minute or two to compile, and another minute or so to load up.

 

EDIT: on a 2nd gen mobile i7 (quad core)

Yeah true, but both those cpu's are pretty beastly, and the difference between compile times of those 2 cpus will be negligible 

 

Edit: op will be fine with either, but if money is not a concern obviously go for the 5820k for da more core powa powa

Home is where the heart my desktop is.

Link to comment
Share on other sites

Link to post
Share on other sites

Yeah true, but both those cpu's are pretty beastly, and the difference between compile times of those 2 cpus will be negligible 

well.. it'll be 30% shorter on 6 cores, than it'd be on 4 cores. (if we use equal cores, just scratching out variables here)

 

should we care? no. its not worth the dollah bills if you're not compiling hundreds of megabytes of code...

Link to comment
Share on other sites

Link to post
Share on other sites

That's already overkill for coding. I used to code HTML on an old single-core 2.6GHz celeron before I got my new laptop. Imo coding can be done on a 1 or 2 core system unless you're building a game that actually requires the performance given by the system you're coding with. Compile times are ridiculously fast, in most cases a fraction of a second using Visual Studio (c#).

Speedtests

WiFi - 7ms, 22Mb down, 10Mb up

Ethernet - 6ms, 47.5Mb down, 9.7Mb up

 

Rigs

Spoiler

 Type            Desktop

 OS              Windows 10 Pro

 CPU             i5-4430S

 RAM             8GB CORSAIR XMS3 (2x4gb)

 Cooler          LC Power LC-CC-97 65W

 Motherboard     ASUS H81M-PLUS

 GPU             GeForce GTX 1060

 Storage         120GB Sandisk SSD (boot), 750GB Seagate 2.5" (storage), 500GB Seagate 2.5" SSHD (cache)

 

Spoiler

Type            Server

OS              Ubuntu 14.04 LTS

CPU             Core 2 Duo E6320

RAM             2GB Non-ECC

Motherboard     ASUS P5VD2-MX SE

Storage         RAID 1: 250GB WD Blue and Seagate Barracuda

Uses            Webserver, NAS, Mediaserver, Database Server

 

Quotes of Fame

On 8/27/2015 at 10:09 AM, Drixen said:

Linus is light years ahead a lot of other YouTubers, he isn't just an average YouTuber.. he's legitimately, legit.

On 10/11/2015 at 11:36 AM, Geralt said:

When something is worth doing, it's worth overdoing.

On 6/22/2016 at 10:05 AM, trag1c said:

It's completely blown out of proportion. Also if you're the least bit worried about data gathering then you should go live in a cave a 1000Km from the nearest establishment simply because every device and every entity gathers information these days. In the current era privacy is just fallacy and nothing more.

 

Link to comment
Share on other sites

Link to post
Share on other sites

I personally would go 6 cores. It makes things much more productive when working on large projects where compile times can get lengthy.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×