By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,614 Members | 1,653 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,614 IT Pros & Developers. It's quick & easy.

Programming language of choice?

P: n/a
For building Windows desktop apps, the clear favorite is C#. But my clients
can't afford to buy Microsoft products. So I need to develop software for Linux
users and web applications.

In the open source world, what is the programmer's language of choice?

Judging by the number of members in each of these
http://www.google.com/Top/Computers/...s/Open_Source/ user
groups, it looks like the top 3 open source languages are:

1. Java
2. PHP
3. Perl

Does this mean Java is the open source language of choice? Are Java apps
compiled, or is it an interpreted language?

What about C and C++?

Mar 2 '07 #1
Share this Question
Share on Google+
14 Replies


P: n/a
..oO(deko)
>For building Windows desktop apps, the clear favorite is C#. But my clients
can't afford to buy Microsoft products. So I need to develop software for Linux
users and web applications.

In the open source world, what is the programmer's language of choice?
Most software, whether open or closed source, is written in C/C++.
Personally I truly hate that language and prefer Pascal/Delphi ... ;-)
But it's been a long time since I wrote my last desktop app.
>Does this mean Java is the open source language of choice? Are Java apps
compiled, or is it an interpreted language?
Java code is first compiled into a bytecode, which is then interpreted
by the virtual machine.
>What about C and C++?
Or D ...

<http://en.wikipedia.org/wiki/D_(programming_language)>

Looks at least interesting.

After all there's not really the one and only "best" or preferred
language. All have their benefits and drawbacks. It also depends on what
kind of software you want to build and on your personal preferences.

Micha
Mar 2 '07 #2

P: n/a
deko wrote:
Are Java apps compiled, or is it an interpreted language?
They're compiled into bytecode, then the bytecode is interpreted by a JVM.

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

Consejo: No uséis comas, que no sean, necesarias.
Mar 2 '07 #3

P: n/a
deko schrieb:
Does this mean Java is the open source language of choice? Are Java apps
compiled, or is it an interpreted language?

What about C and C++?
Off Topic! ARRRRR! ;-)

If you want to create GUI applications and like quick results:
Have a look at Ruby.

OLLi

____________
"Your DNA must cry itself to sleep at night."
[Coupling]
Mar 2 '07 #4

P: n/a
On Mar 1, 6:14 pm, "deko" <d...@nospam.comwrote:
For building Windows desktop apps, the clear favorite is C#. But my clients
can't afford to buy Microsoft products. So I need to develop software for Linux
users and web applications.

In the open source world, what is the programmer's language of choice?
It depends a lot on what your writing a program for. One language may
be great for on job but be incapable of doing another.
>
Judging by the number of members in each of thesehttp://www.google.com/Top/Computers/Programming/Languages/Open_Source/user
groups, it looks like the top 3 open source languages are:

1. Java
One of the biggest advantages of Java is the same code runs on any
platform that supports Java (and there are quite a few).
2. PHP
PHP is my favorite language for web scripting. It has lots of tools to
help create XHTML websites and apps such as easy database connections.
3. Perl
Another great language is Python. It's wonderful for writing little
apps including desktop applications. It's a fantastic language.
Does this mean Java is the open source language of choice? Are Java apps
compiled, or is it an interpreted language?
Java code is compiled into bytecodes which are execute by the Java
Virtual Machine.
>
What about C and C++?
Still, many desktop apps are written in these languages.

Good Luck!

Mar 2 '07 #5

P: n/a
deko wrote:
For building Windows desktop apps, the clear favorite is C#. But my
clients
Completely debatable. I still see Visual Basic, C++ and others being used.
can't afford to buy Microsoft products. So I need to develop software
for Linux
users and web applications.

In the open source world, what is the programmer's language of choice?
It depends on the needs of the program. No one language is "best" -
that's why there are so many of them.
Judging by the number of members in each of these
http://www.google.com/Top/Computers/...s/Open_Source/ user
groups, it looks like the top 3 open source languages are:

1. Java
2. PHP
3. Perl

Does this mean Java is the open source language of choice? Are Java apps
compiled, or is it an interpreted language?
No. It means those who answered the question picked Java as their choice.
What about C and C++?
Not open source languages, so you're talking apples and oranges.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Mar 2 '07 #6

P: n/a
deko wrote:
For building Windows desktop apps, the clear favorite is C#. But my
clients
can't afford to buy Microsoft products. So I need to develop software
for Linux
users and web applications.

In the open source world, what is the programmer's language of choice?

Judging by the number of members in each of these
http://www.google.com/Top/Computers/...s/Open_Source/ user
groups, it looks like the top 3 open source languages are:

1. Java
2. PHP
3. Perl

Does this mean Java is the open source language of choice? Are Java apps
compiled, or is it an interpreted language?

What about C and C++?
I hate to quote a FAQ...

http://www.stack.nl/htmlhelp/faq/cgifaq.1.html

1.12: What languages should I know/use?

It isn't really that important. Use what you're comfortable with,
or what you're constrained (eg by your manager) to use.

If you're just dabbling with programming, Perl is a good choice, simply
because of the wealth of ready-to-run Perl/CGI resources available.

If you're serious about programming, you should be at home in a
range of languages. C, the industry standard, is a must (at least to
the level of comfortably reading other people's code). You'll
certainly want at least one scripting language such as Perl, Python
or Tcl. C++ is also a very good idea.

In response to a Usenet newbie question:
I am seriously wanting to learn some CGI programming languages
J.M. Ivler wrote some eloquent words of wisdom:
If you want to learn a programming language, learn a programming
language.
If you want to learn how to do CGI programming, learn a programming
language first.

My book is one of the few that tackles two languages at the same time.
Why? because it's not about languages (which are just syntax for logic).
CGI programming is about programming, and how to leverage the experience
for the person coming to the site, or maintaining the site, or in
some way
meeting some requirements. Language is just a tool to do so.
##

Damn that guy was sure smart... ;-)
word has it that he still shows up in newsgroups now and then...
some say he is playing in the php world these days...
Me? Him? Never!
Mar 2 '07 #7

P: n/a
On Thu, 01 Mar 2007 16:14:05 -0800, deko wrote:
For building Windows desktop apps, the clear favorite is C#.
That would be C/C++. Microsoft doesn't even write apps in C#. I'll never
understand why people use technology that isn't used by the company that
created it.

....and as always remember:

Windows Vista was written with ZERO .NET code.
Mar 2 '07 #8

P: n/a
http://www.stack.nl/htmlhelp/faq/cgifaq.1.html

That's a helpful FAQ... thanks.

Mar 2 '07 #9

P: n/a
>For building Windows desktop apps, the clear favorite is C#.
>
That would be C/C++. Microsoft doesn't even write apps in C#. I'll never
understand why people use technology that isn't used by the company that
created it.

...and as always remember:

Windows Vista was written with ZERO .NET code.
interesting...
Mar 2 '07 #10

P: n/a
NC
On Mar 1, 4:14 pm, "deko" <d...@nospam.comwrote:
>
my clients can't afford to buy Microsoft products. So I need to develop
software for Linux users and web applications.
Um, so what exactly do you need to develop? Desktop applications for
Linux
or Web applications?
In the open source world, what is the programmer's language of choice?
Depends. For desktop applications, C and C++. For Web applications,
PHP,
Perl, Python, and Ruby.
it looks like the top 3 open source languages are:

1. Java
2. PHP
3. Perl

Does this mean Java is the open source language of choice?
There are many implementations of Java for Web development. Some
(JBOSS,
Tomcat) are open-source, others (PowerTier, WebLogic, WebSphere) are
proprietary and expensive.

Another issue with Java is database connectivity. Java is known to
work
very well with Oracle, which, in turn, is known to be expensive.
Java
applications that are developed on a tight budget (meaning, using
Tomcat
and relying on MySQL for data storage), on the other hand, are known
to
have performance issues (something is not working right between
Tomcat
and MySQL JDBC driver, so the application chokes at loads that can be
easily handled by PHP or Python on the same hardware with the same
MySQL).
One story that has been widely publicised in this regard is
Friendster,
which ended up migrating away from Java to PHP with no changes to the
database architecture.
Are Java apps compiled, or is it an interpreted language?
Neither. Java is compiled into bytecode, which is interpreted by a
Java
Virtual Machine at runtime.
What about C and C++?
You mean, for Web development? More trouble than it's worth. The
end
result of developing with C/C++ is an executable, and to run your own
executables on the Web, you usually need a dedicated server. And
those
tend to be relatively expensive...

Cheers,
NC

Mar 2 '07 #11

P: n/a
deko wrote:
In the open source world, what is the programmer's language of choice?
Assuming you're talking about desktop/GUI programming (which is what I
surmised from your intro) then C/C++ are far and away the most popular
languages for programming on Linux. All the major GUI software is written
in one of those, including X11, GNOME, KDE, Evolution, Mozilla,
OpenOffice.org, etc, etc.

That said, I've never particularly enjoyed programming in either C or C++
myself. For Linux GUI programming, I'd personally recommend Perl, which
has decent GUI bindings for a variety of widget sets, including GTK.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
Mar 2 '07 #12

P: n/a
On Mar 2, 8:33 pm, Ivan Marsh <anno...@you.nowwrote:
On Thu, 01 Mar 2007 16:14:05 -0800, deko wrote:
For building Windows desktop apps, the clear favorite is C#.

That would be C/C++. Microsoft doesn't even write apps in C#. I'll never
understand why people use technology that isn't used by the company that
created it.

...and as always remember:

Windows Vista was written with ZERO .NET code.
Just curious, are you Delphi programmer? ('coz you're sounding like
one:-))

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Mar 16 '07 #13

P: n/a
Language of choice depands on your application what interaction it
entails and who will use it and where. I could say just about any
language but it is purely based on my perceived needs not yours.

It's best to start thje post with a shopping list of points you wish
to hit with an application and then we may be able to help point out
which languages are good for such things and which are not.

So far you are looking for a language:
- To code Windows Desktop Applications
- That is not an Expensive Microsoft PRoduct
Does it require a databases?
Does it need to animate?
Make sounds?
Do you need to print?
Import/Export data?
Use obscure peripherals (i.e. IEEE-488 mesuring equipment)
Does it require Internet Access or may readily be in situations
without the internet?
etc.
How is it going to be launched, or installed (do you need to identify
the individual clients?)
>From such a list you can then find the best "tool" (language) to fit
the job.

Mar 16 '07 #14

P: n/a
On Fri, 16 Mar 2007 08:49:58 -0700, R. Rajesh Jeba Anbiah wrote:
On Mar 2, 8:33 pm, Ivan Marsh <anno...@you.nowwrote:
>On Thu, 01 Mar 2007 16:14:05 -0800, deko wrote:
For building Windows desktop apps, the clear favorite is C#.

That would be C/C++. Microsoft doesn't even write apps in C#. I'll never
understand why people use technology that isn't used by the company that
created it.

...and as always remember:

Windows Vista was written with ZERO .NET code.

Just curious, are you Delphi programmer? ('coz you're sounding like
one:-))
I haven't programmed in Delphi in a very long time... but at one time I
did. I worked for Borland when we developed Delphi.

I'm pretty much a C++/PHP/JavaScript guy.

Mar 16 '07 #15

This discussion thread is closed

Replies have been disabled for this discussion.