Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
OK i have been a windows user for a long time and recently i moved to linux (Suse 9.2).
I have been using Visual basic for work and home project and also vb.net, what i want to know if whats the best programming language to learn, i want something that can do GUI's and also work with sockets preferably something thats platform independent. I really don't want to learn C (C++) is there anything out there thats close to VB for linux and cross platform ??
Why don't you want to use C/C++? They're both awesome languages, and once you know them, there aren't too many others that you won't learn fairly easily, and most programs (at least that I use) are programmed in C/C++.
well after 3 hours of installing this and that trying to get GTK working i give up lol
last error i got was
checking for glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.8.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure: error: Library requirements (glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.8.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
But glib is installed , i think i will go down the c++ route
I'd go Java if I was you. Very powerful and versatile, but some people don't like it. Its very platform independent, and is made for the internet. Socket programming is pretty easy with it, but you might have a little bit of a hard time learning it if you've never done C or C++. Take a book out of the library and take a crack at it.
A programming langauge that is similar to Visual Basic or VB.net is Python. Like Java, Python can run on many operating systems, but Python can handle devices or data at low-level unlike Java. For the GUI part of Python, use wxPython. Next for IDE, use Boa.
Tcl/Tk is sloppy and it is slow when processing huge amounts of data.
Java uses a virtual machine that eats up memory and processor usage. Though if you handle the program well, it will be less power hungry.
Thanks for all your help, i started linux a few weeks ago and found linuxquestions.org, theres not much this comunity cant give advise on..
I think i will use the c++ route as linux seems to have a compiler built in by running the "cc" command, Thanks again
Python usually works out of the box with most Linux distributions too. Type "python" at the command line to invoke the Interpreter. Just compare those two codes:
using namespace std;
cout << "Hello there!";
That's C++. Now look at python:
print "Hello there!"
Python is still OO and you still have access to lower levels as Pointers (unlike Java and most interpreted languages). The syntax is much cleaner and unless you are writing a driver or something lower, there's no need to go as low as C or assembler... (personal opinion).
Just think about it, the only relevant line in the above C++ code is cout << "Hello there";. All the rest, regardless the book you are reading will threat the other lines as #include and what the braces does either in
1 - A new chapter, skipping it or
2 - Going into detail of those things and making a big mess in a newcomers head...
I'd say, go python first, you can't go wrong with it. Learn C or C++, or even Java afterward if you found it necessary