472,374 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,374 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 11106
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: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

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.