LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 08-02-2006, 01:08 AM   #1
cragwolf
Member
 
Registered: Jan 2004
Location: arse-end of the world
Distribution: Zenwalk 2.8
Posts: 73

Rep: Reputation: 15
Advice sought on choosing language


I am a hobbyist programmer, I enjoy coding little real-time simulation programs, especially with some visual output, preferably in 3D. Initially I dabbled in Basic and Fortran, but then firmly planted myself in Object Pascal for a long time (several years). Free Pascal is a nice compiler, but I'm getting frustrated by its relatively unreliable or token support for major libraries and API's like OpenGL, GTK2, and Qt, and far too often I've been stymied by bugs in the compiler. So I'm looking for a programming language that has been around for a while, has at least one fast and stable compiler for Linux, has reliable and up-to-date support for major libraries like the ones I mentioned, and a large online community based around it. Can you give me any recommendations?
 
Old 08-02-2006, 01:10 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Ahem... C and C++

Besides being all that you said (solid compiler, huge, huge community and extensive support for all the APIs you mentioned) it's also the natural progression for a Pascal programmer.

Last edited by vharishankar; 08-02-2006 at 01:12 AM.
 
Old 08-02-2006, 03:55 AM   #3
cragwolf
Member
 
Registered: Jan 2004
Location: arse-end of the world
Distribution: Zenwalk 2.8
Posts: 73

Original Poster
Rep: Reputation: 15
I should add that I also have some experience in C++, too, from a job I did for about one year, but I read books on it more than I programmed in it, and I was exclusively in the Windows world back then. So I am leaning towards C and/or C++. Nevertheless, I am still very interested in what you Linux gurus have to say about this subject.

Last edited by cragwolf; 08-02-2006 at 03:59 AM.
 
Old 08-02-2006, 03:58 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
If you're good at C/C++ you need look no further. Nearly every conceivable library written on the UNIX/Linux platform has a C or C++ programming interface. (I'm saying most have, but the levels of documentation vary vastly - some have excellent API documentations like QT GUI Toolkit, others have almost none).

Also recommended for learning are shell scripting, Perl and Python. Definitely worth a look.

Linux is a programmers' paradise.

Last edited by vharishankar; 08-02-2006 at 04:01 AM.
 
Old 09-26-2006, 10:01 PM   #5
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Quote:
Originally Posted by cragwolf
Free Pascal is a nice compiler, but I'm getting frustrated by its relatively unreliable or token support for major libraries and API's like OpenGL, GTK2, and Qt,
Free Pascal has excellent support for OpenGL, Gtk2 and Qt 4

Gtk2 headers come with Free Pascal preinstalled, and they are the same as using Gtk2 on c for example.

You can find Qt 4 bindings here:

http://users.pandora.be/Jan.Van.hijf...pc/fpcqt4.html

OpenGL also works very well with Free Pascal.

What specific problems did you find?

Quote:
and far too often I've been stymied by bugs in the compiler.
In this case, please submit bug reports. Free Pascal teams is very quick at fixing bugs. Acctually I´ve working on very big projects with Free Pascal and I haven´t ever come across a bug on the stable releases.

The only times I found bugs was on very experimental ports, like the Windows CE port.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice sought RE Input/output errors during backup attempt conn-fused Linux - Software 2 12-17-2005 01:25 AM
Advice sought RE input/output errors during backup attempt conn-fused Linux - Hardware 0 12-16-2005 05:42 AM
Mandrake hda1 full! Urgent advice sought before wife explodes alans Linux - Hardware 4 06-14-2005 11:31 AM
Advice on Linux for new laptop sought Garzo Linux - Newbie 6 04-13-2005 01:19 PM
file system advice sought jagmandan Linux - General 2 07-01-2004 08:37 PM


All times are GMT -5. The time now is 03:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration