473,396 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Language differences: Python, Java, C, C++

55
what is the difference between python ,java ,c,c++?
what kind of applications can you create with it?
Dec 15 '06 #1
3 11167
bartonc
6,596 Expert 4TB
what is the difference between python ,java ,c,c++?
There are two basic groups here:
Python & Java are interpreted languages. An interpreter is (basically) a piece of software that sits between your program and the hardware/operating system of you computer and tells your computer to do the things that your program says to do.

C and Cs big brother, C++ are compiled. A compiler reads your program and crunches it down to machine executable (binary) form, yeilding instructions that run directly on the hardware of your computer.

Both Python and C++ fit into a catagory called Object Oriented Programming Languages, giving software designers a better grasp on data and the functions that work on that data.

I don't know if Java supports this concept. Old style C does not.

Pros & Cons (in my view - especially for beginners)
Compiled:
+ Runs faster; Hardware execution
- Compilers are hard to figure out; Lots of settings to get right

Interpreted:
+ Run a program "interactively"; Type a line in, hit return and see the result
- Not as fast; A program running a program

The easiest to learn in this list. My opinion is (hands down) python.
But the choice really comes down to personal preference.
Dec 16 '06 #2
bartonc
6,596 Expert 4TB
what kind of applications can you create with it?
Java is used mainly for web application development.
C is good for writing drivers and command-line executables (things without a need for a lot of data abstraction).
Python, C++ and other OOPLs or good for full applications with GUI interfaces and lots of data abstraction.
Dec 16 '06 #3
bartonc
6,596 Expert 4TB
There are two basic groups here:
Python & Java are interpreted languages. An interpreter is (basically) a piece of software that sits between your program and the hardware/operating system of you computer and tells your computer to do the things that your program says to do.

C and Cs big brother, C++ are compiled. A compiler reads your program and crunches it down to machine executable (binary) form, yeilding instructions that run directly on the hardware of your computer.

Both Python and C++ fit into a catagory called Object Oriented Programming Languages, giving software designers a better grasp on data and the functions that work on that data.

I don't know if Java supports this concept. Old style C does not.

Pros & Cons (in my view - especially for beginners)
Compiled:
+ Runs faster; Hardware execution
- Compilers are hard to figure out; Lots of settings to get right

Interpreted:
+ Run a program "interactively"; Type a line in, hit return and see the result
- Not as fast; A program running a program

The easiest to learn in this list. My opinion is (hands down) python.
But the choice really comes down to personal preference.
Actually, Python is a bit of both. There is an invisible (there are no settings) "compile" stage that converts you program that you type into "byte code" that is then run by the python execution engine.
Dec 23 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Dave Brueck | last post by:
Below is some information I collected from a *small* project in which I wrote a Python version of a Java application. I share this info only as a data point (rather than trying to say this data...
4
by: Daniel Orner | last post by:
Hello, I'm working on a project that consists of a Java application on the desktop, and a server with Python CGI code. I'm trying to find an encryption algorithm, which would let me send...
3
by: Maurice LING | last post by:
Hi, I've learnt and used Java and Python for a few years now, on bits of my thesis work etc etc. I will have to say that I love both languages and the possibilities they can provide. More...
0
by: Luis P. Mendes | last post by:
Hi, do you know if is there any 'Dive into Python' equivalent for the java language? DiP is the best I've seen and I would need to learn some basics of Java and also ways to interact between...
9
by: Maurice LING | last post by:
Hi, Is there any UML tools that is able to take UML and generate Python codes? Cheers Maurice
8
by: Aziz McTang | last post by:
Hi Group, I am not an experienced programmer at all. I've learned html and css well enough to hand-write simple websites. I'm now looking to move to the next step. Initially, I'd like to do 3...
0
by: Cees Wesseling | last post by:
For a couple of years I am using now my own data binding tool that can create C++ classes from a DTD. At this moment I need to reconsider this tool since I want to use W3C XML Schemas and need to...
6
by: Jens Thiede | last post by:
Q 1: I've not been using C++ much yet, but is it true that C++ is an unfriendly language to code in *OR*, as I think, is it just a case of C people, coding in C and calling it C++? Q 2: What...
6
by: Chas Emerick | last post by:
This may seem like it's coming out of left field for a minute, but bear with me. There is no doubt that Ruby's success is a concern for anyone who sees it as diminishing Python's status. ...
0
by: datulaida | last post by:
Hi.. How to connect Python with Java. This is my Python program. i use jpype to connect Python with Java. from jpype import * startJVM("d:/Program...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.