Welcome to Dream.In.Code
Become an Expert!

Join 149,481 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,401 people online right now. Registration is fast and FREE... Join Now!




Which Language for my Problem?

 
Reply to this topicStart new topic

Which Language for my Problem?

GreenDots
6 May, 2007 - 06:53 AM
Post #1

New D.I.C Head
*

Joined: 6 May, 2007
Posts: 1


My Contributions
Howdy folks. I'm looking to learn a new language and would appreciate some help in selecting one smile.gif I want to avoid any false-starts by putting down some 'musts' and 'must-nots' and mabye you guys could give me some languages to think about and mabye we can whittle them down to 1.

I have a lot of experience in php, and I used to be ok with C and Java. I dabbled a bit with the win32 API in visual basic also. Its been a long while since I've done any programming, and I think mabye its a good time to rethink my language of choice rather than just delve back in to one.

Anyway, here's my list of demands biggrin.gif

Must:
...be flexible and reasonably powerful. (in terms of scope)
...be able to access the win32 API. I think I'll be doing a lot of work involving window hooking and API calls.
...be able to learn it relitively quickly (within reason)
...be able to spit out native windows excecutables

Must-Not:
...require stupid amounts of code to perform simple tasks.
...be a very high level language.
...run in a VM or sandbox.

Bonus points if the language uses c-style syntax.

-Hope you can help, guys smile.gif
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Which Language For My Problem?
6 May, 2007 - 07:12 AM
Post #2

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,349



Thanked: 51 times
Dream Kudos: 25
My Contributions
C++
User is online!Profile CardPM
+Quote Post

snoj
RE: Which Language For My Problem?
6 May, 2007 - 08:00 AM
Post #3

Fell off the face of the earth
Group Icon

Joined: 31 Mar, 2003
Posts: 3,325



Thanked: 9 times
Dream Kudos: 750
My Contributions
Beyond those musts, what are you wanting to do?!
User is offlineProfile CardPM
+Quote Post

rahulbatra
RE: Which Language For My Problem?
6 May, 2007 - 09:04 AM
Post #4

D.I.C Head
Group Icon

Joined: 28 Dec, 2005
Posts: 165


Dream Kudos: 275
My Contributions
Ruby seems like a good option, if you want a very high level language that allows you to start productive coding in a reasonably short time.
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Which Language For My Problem?
6 May, 2007 - 09:29 AM
Post #5

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,349



Thanked: 51 times
Dream Kudos: 25
My Contributions
Ruby is a good option, but does not really fulfill the requirement of producing windows executables. As an interpreted language, it requires the use if an interpreter.

Of course, there are ways around it. smile.gif

http://www.erikveen.dds.nl/rubyscript2exe/index.html
User is online!Profile CardPM
+Quote Post

born2c0de
RE: Which Language For My Problem?
6 May, 2007 - 11:47 PM
Post #6

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,026



Thanked: 38 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
I agree with Amadeus.
Go ahead with C.
User is offlineProfile CardPM
+Quote Post

NickDMax
RE: Which Language For My Problem?
7 May, 2007 - 01:13 PM
Post #7

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,867



Thanked: 53 times
Dream Kudos: 550
My Contributions
confused.gif your list of requirements are... well limiting.

Basicly you discribed C++ with the exception of, "be able to learn it relitively quickly (within reason)" as windows C++ can actually take a while to master (mostly just due to learning the windwos API or MFC or QT or whatever you are using as a GUI front).

A good option is D. D is much like C# in that it is an attempt to improve upon C++. I have not used it myself but have been looking for an excuse to try it out. It takes many of the modern features found in languages such as LUA, RUBY, PYTHON and brings them into C++... It has to be worth something. There are two big compilers, one by Digital Mars and the other a GNU.

There is Eiffel. The syntax is much more pascal based (I bet this is where all of the old pascal programers who missed the Delphi boat went). But it is supposed to be a rather easy language with very solid Object Oriented programming structure. --I have never met an Eiffel programmer -- but aparently its big in europe.

If I were you I would not discount those interpreted languages. There is a lot of great work being done in languages like Ruby, Lua, Python, PHP, and Perl. These languages become more and more important as people beging to move away from the idea of "libraries" and move toward "engines".

Why spend all the time of programming a new game from scratch with you can use the physics/graphics engine of Doom3 and a scripting language like Lua and create amazing 3D games in 1/10th of the time? There is no significant speed issue since the engine takes care of all the masive-data portions of the code, all you need to do is tell the engine what to do when.

This idea is not just in games. Heck this is what the database world has been doing since the late 80's. Web developers are using PHP/Perl/Python/Ruby etc etc etc. Scripting languages are fast development platforms which are only getting more powerful with time.

Don't get me wrong. I hate microsoft's move away from native code development more than most, but that does not mean that I will not be spitting out some .Net applications here and there.
User is online!Profile CardPM
+Quote Post

DesignO
RE: Which Language For My Problem?
30 Jul, 2007 - 12:19 AM
Post #8

New D.I.C Head
*

Joined: 30 Jul, 2007
Posts: 2


My Contributions
"The syntax is much more pascal based (I bet this is where all of the old pascal programers who missed the Delphi boat went). "

And there is Delphi. Where it's native code party time on the Delphi boat.
It is a good place to start. Since it fits all your criteria. There is also a library for the Doom 3 stuff already mentioned.
Not to mention a fantastic community developers.

This post has been edited by DesignO: 30 Jul, 2007 - 02:37 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 04:26PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month