New Posts  All Forums:Forum Nav:

C++ or Python?

post #1 of 13
Thread Starter 
I'm wondering which language would be more useful/convenient and/or easier. I've heard great things about both. Any help will be rewarded.
post #2 of 13
What are you trying to build?
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #3 of 13
Python is a truly awesome language. It's easy to get started and the language is beautiful in my opinion. The debugger is pretty helpful too. Python is one of the faster scripting languages. It has a great set of modules/libraries to begin with.

C++ is a powerful language and it executes fast, but you'll have to compile your code first any time you make a change. It's harder to learn too. You'd find yourself doing a lot more low-level work in your programs.

I'd pick Python. With a few exceptions, modern computers are to the point where even scripting languages are fast. Unless you're looking to program something like a video transcoder, Python will serve you well.
2017 Build
(10 items)
 
   
CPUMotherboardGraphicsRAM
Ryzen 7 1700X ASRock X370 Killer SLI/ac PowerColor R9 280 3GB 2x Corsair Venceance LPX 32GB DDR4-3200 (4x16GB) 
Hard DriveHard DriveCoolingMonitor
Sandisk Ultra II 960GB SSD Mushkin Reactor 960GB MLC SSD Corsair H110i 34" LG 34UC88-B 3440x1440 
PowerCase
EVGA SuperNOVA G2 750W Phanteks Enthoo Evolv ATX TG 
CPUCPUCPUCPU
AMD Opteron 8431 AMD Opteron 8431 AMD Opteron 8431 AMD Opteron 8431 
MotherboardRAMHard DriveOptical Drive
Supermicro H8QME-2+ 32GB DDR2-667 ECC Registered (16x2GB) 2x Samsung F3 1TB 2x Toshiba 5TB 
CoolingOSMonitorPower
4x Hyper TX-3 Debian Wheezy Headless Corsair CX750M 
  hide details  
Reply
2017 Build
(10 items)
 
   
CPUMotherboardGraphicsRAM
Ryzen 7 1700X ASRock X370 Killer SLI/ac PowerColor R9 280 3GB 2x Corsair Venceance LPX 32GB DDR4-3200 (4x16GB) 
Hard DriveHard DriveCoolingMonitor
Sandisk Ultra II 960GB SSD Mushkin Reactor 960GB MLC SSD Corsair H110i 34" LG 34UC88-B 3440x1440 
PowerCase
EVGA SuperNOVA G2 750W Phanteks Enthoo Evolv ATX TG 
CPUCPUCPUCPU
AMD Opteron 8431 AMD Opteron 8431 AMD Opteron 8431 AMD Opteron 8431 
MotherboardRAMHard DriveOptical Drive
Supermicro H8QME-2+ 32GB DDR2-667 ECC Registered (16x2GB) 2x Samsung F3 1TB 2x Toshiba 5TB 
CoolingOSMonitorPower
4x Hyper TX-3 Debian Wheezy Headless Corsair CX750M 
  hide details  
Reply
post #4 of 13
Thread Starter 
Quote:
Originally Posted by error10 View Post
What are you trying to build?
Just in general. I haven't decided a project yet. Also, where would good Python tutorials be?
Edited by Mugabuga - 5/15/11 at 1:42pm
post #5 of 13
It's going to be very hard to answer your question until you have some idea of what you want to do. Specific languages are better at specific things than others.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #6 of 13
It depends on what you are trying to accomplish. Python is easier, but C++ is faster. Get an idea of what you are doing then fit the language to the project. That being said I recommend C++, though I have been programming using C for 4 or 5 years; I might be biased ;D
    
CPUMotherboardGraphicsRAM
Athlon(tm) II X4 640 Msi 880GM-E41 EVGA 9800 GT G.SKILL Ripjaws 4GB 
Hard DriveOptical DriveOSOS
Seagate Unknown Windows 7 Professional (64-Bit) Ubuntu 11.10 x86 (Debian Linux) 
MonitorKeyboardPowerCase
Dell Logitech G15 Kingwin 730-Watt Rosewell 
Mouse
Trust Predator 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Athlon(tm) II X4 640 Msi 880GM-E41 EVGA 9800 GT G.SKILL Ripjaws 4GB 
Hard DriveOptical DriveOSOS
Seagate Unknown Windows 7 Professional (64-Bit) Ubuntu 11.10 x86 (Debian Linux) 
MonitorKeyboardPowerCase
Dell Logitech G15 Kingwin 730-Watt Rosewell 
Mouse
Trust Predator 
  hide details  
Reply
post #7 of 13
Learn both.
Viking
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K @ 4.8 GHz 1.45V P8Z68-V GEN3 [2x] EVGA GeForce GTX 570 SLI [2x] Kingston HyperX 4GB 1600MHz 
Hard DriveHard DriveCoolingCooling
Crucial M4 128GB [2x] WD 320GB XSPC Single Bay Reservoir Swiftech MCP655 
CoolingCoolingOSPower
XSPC Raystorm XSPC EX240 Windows 7 Pro 64-bit Corsair HX850 
Case
Corsair Obsidian 650D 
  hide details  
Reply
Viking
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K @ 4.8 GHz 1.45V P8Z68-V GEN3 [2x] EVGA GeForce GTX 570 SLI [2x] Kingston HyperX 4GB 1600MHz 
Hard DriveHard DriveCoolingCooling
Crucial M4 128GB [2x] WD 320GB XSPC Single Bay Reservoir Swiftech MCP655 
CoolingCoolingOSPower
XSPC Raystorm XSPC EX240 Windows 7 Pro 64-bit Corsair HX850 
Case
Corsair Obsidian 650D 
  hide details  
Reply
post #8 of 13
I'm actually being taught Python in school, and then we're supposed to take on Java as well. I actually really enjoy learning Python, but I also haven't been exposed to C. I'm still very bad at it technically, but it's a learning experience.
 
OverCoaster
(14 items)
 
 
CPUMotherboardGraphicsRAM
i7 7700K [4.5GHz] ASUS Z270i STRIX Titan X Pascal + Hybrid Corsair Vengeance LPX 3K [16GB] 
Hard DriveHard DriveCoolingOS
Kingston HyperX Savage [480GB] Mushkin Enhanced Reactor [1TB] Corsair H75 + F120MP Windows 10 Professional [x64] 
MonitorMonitorKeyboardPower
Acer Predator X34 Dell P2012Ht Razer Blackwidow X [Tournament Ed.] Corsair SF600 [600w] 
CaseMouseMouse PadAudio
NCASE M1 [v5] G403 Wireless QcK+ [Vault 111 Ed.] Schiit Bifrost Uber + Schiit Asgard 2 + TH-X00... 
CPUMotherboardGraphicsRAM
i5 4670K ASRock Z97E-ITX/ac ASUS GTX 1070 FE Kingston HyperX Fury DDR3 1866 [White Ed.] 
Hard DriveCoolingOSMonitor
Samsung Evo 840 [250GB] Phanteks PH-TC14PE  Win 10 Pro [x64] Dell S2716DGR [144hz] 
KeyboardPowerCaseMouse
KC60 [Miami Ed.] EVGA 550 G2 Phanteks Enthoo Evolv ITX [White] Logitech G403 
Mouse PadAudio
SS QcK Heavy AudioQuest Dragonfly Black + Sennhesier HD650 
  hide details  
Reply
 
OverCoaster
(14 items)
 
 
CPUMotherboardGraphicsRAM
i7 7700K [4.5GHz] ASUS Z270i STRIX Titan X Pascal + Hybrid Corsair Vengeance LPX 3K [16GB] 
Hard DriveHard DriveCoolingOS
Kingston HyperX Savage [480GB] Mushkin Enhanced Reactor [1TB] Corsair H75 + F120MP Windows 10 Professional [x64] 
MonitorMonitorKeyboardPower
Acer Predator X34 Dell P2012Ht Razer Blackwidow X [Tournament Ed.] Corsair SF600 [600w] 
CaseMouseMouse PadAudio
NCASE M1 [v5] G403 Wireless QcK+ [Vault 111 Ed.] Schiit Bifrost Uber + Schiit Asgard 2 + TH-X00... 
CPUMotherboardGraphicsRAM
i5 4670K ASRock Z97E-ITX/ac ASUS GTX 1070 FE Kingston HyperX Fury DDR3 1866 [White Ed.] 
Hard DriveCoolingOSMonitor
Samsung Evo 840 [250GB] Phanteks PH-TC14PE  Win 10 Pro [x64] Dell S2716DGR [144hz] 
KeyboardPowerCaseMouse
KC60 [Miami Ed.] EVGA 550 G2 Phanteks Enthoo Evolv ITX [White] Logitech G403 
Mouse PadAudio
SS QcK Heavy AudioQuest Dragonfly Black + Sennhesier HD650 
  hide details  
Reply
post #9 of 13
I would highly recommend C++.

Those I have recommended to learn C++ work out better in the end than those who chose to "begin with python".

A lot of people spend time learning some python, then VBS, then C, etc.

They end up learning some of each, which is pretty good.

However, those I had learn C++ from the start are masters at it by now as they know it VERY well.

C++ is the most useful language these days besides Java (but java is different, object oriented, and no one likes it including myself haha).
Black Pill
(17 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 3770k ASUS P8Z77V-PRO EVGA GTX-980 Corsair Dominator Platinum 16Gb (2x8Gb) 
Hard DriveHard DriveHard DriveOptical Drive
128Gb OCZ Vertex IV SSD 1Tb WD Gold HDD 1.5Tb WD Caviar Green HDD ASUS CD/DVD +/-RW x24 
CoolingOSMonitorKeyboard
Corsair H80i Liquid Cooling Windows 7 Ultimate 64bit BenQ XL2410T 120Hz Logitech G710+ 
PowerCaseMouseMouse Pad
Corsair AX850w Bitfenix Ghost Logitech G600 Steelseries H4 
Audio
Logitech G35 Headset 
CPUMotherboardGraphicsRAM
i7 Ivy Bridge 2.6Ghz Apple PCB nVidia GT650M (Overclocked) 16Gb Apple Ram 
Hard DriveOptical DriveCoolingOS
512Gb Apple SSD None 2 Asymmetrical Fans OSX Mavericks 
MonitorKeyboardPowerCase
15" Retina IPS Display Apple Backlit Keyboard 85w Magsafe II Apple Aluminum Unibody 
Mouse PadAudioOther
Apple Multi-Touch Trackpad Integrated  Slave Labor 
  hide details  
Reply
Black Pill
(17 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 3770k ASUS P8Z77V-PRO EVGA GTX-980 Corsair Dominator Platinum 16Gb (2x8Gb) 
Hard DriveHard DriveHard DriveOptical Drive
128Gb OCZ Vertex IV SSD 1Tb WD Gold HDD 1.5Tb WD Caviar Green HDD ASUS CD/DVD +/-RW x24 
CoolingOSMonitorKeyboard
Corsair H80i Liquid Cooling Windows 7 Ultimate 64bit BenQ XL2410T 120Hz Logitech G710+ 
PowerCaseMouseMouse Pad
Corsair AX850w Bitfenix Ghost Logitech G600 Steelseries H4 
Audio
Logitech G35 Headset 
CPUMotherboardGraphicsRAM
i7 Ivy Bridge 2.6Ghz Apple PCB nVidia GT650M (Overclocked) 16Gb Apple Ram 
Hard DriveOptical DriveCoolingOS
512Gb Apple SSD None 2 Asymmetrical Fans OSX Mavericks 
MonitorKeyboardPowerCase
15" Retina IPS Display Apple Backlit Keyboard 85w Magsafe II Apple Aluminum Unibody 
Mouse PadAudioOther
Apple Multi-Touch Trackpad Integrated  Slave Labor 
  hide details  
Reply
post #10 of 13
Quote:
Originally Posted by Mugabuga View Post
Just in general. I haven't decided a project yet. Also, where would good Python tutorials be?
I have heard good things about Learn Python The Hard Way although I have have never gone through it myself. The name is completely false and it starts you out assuming you have no programming knowledge at all. It is very slow and annoying if you are a experienced programmer but otherwise is very helpful.

As to Python vs C++, I don't really think that it matter all that much which one you start with if you are just trying to learn how to program. After you learn your first language all the others become much much easier to pick up. Starting with C++ (I would actually learn C first, then add objects later) gives you a much greater understanding of what the system is actually doing which can be helpful later on. This is lower level and more intricate but is a very useful thing. Starting with Python would help you learn how to learn to program from a bit higher level perspective.

Either way is fine honestly.
Scream Machine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-4770K Gigabyte Z87X-UD3H EVGA GTX 780 16GB DDR3 
Hard DriveCoolingOSMonitor
256GB Samsung 840 Pro Kraken X60 Windows 7 Shimian 2560x1440 
Case
Phantom 630 
  hide details  
Reply
Scream Machine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-4770K Gigabyte Z87X-UD3H EVGA GTX 780 16GB DDR3 
Hard DriveCoolingOSMonitor
256GB Samsung 840 Pro Kraken X60 Windows 7 Shimian 2560x1440 
Case
Phantom 630 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Application Programming