Coding Under Linux

D

dw85745

Guest
I'm looking at making the switch from Windows to Linux.
I started with a CDC6400 mainframe back in the old punch card days and switched to PC around 1981 so am familiar with DOS as well as a number of different program languages..

I have several key programs (about 12) that I need to port or rewrite for use in Linux. These were written using Visual Basic 5/6 with a number of API calls. I'm sure I can't port these Visual Basic 5/6 programs directly over, but I am not sure:
(1) what programming language(s) will work under Linux, and
(2) which languages have good forum support for any questions I may have regarding the language finally chosen.

The programs I need to port do a lot of 2D graphics so a graphics library is of most importance.

Is C, C++, Java, or some form of a Basic available?

Thanks
David
 


Is C, C++, Java, or some form of a Basic available?
Yes!

Google:
Linux C programming language
Linux C++ programming language
Linux Java programming language
Linux Basic programming language
 
I do not know much about IDEs for Basic, but I do know about the other languages -

Eclipse - Java
Geany - C/C++ and others
 
Thank you both for your response.
Have played a little with Eclipse and IDE similar to Visual Studio

David
 
I'm looking at making the switch from Windows to Linux.
I started with a CDC6400 mainframe back in the old punch card days and switched to PC around 1981 so am familiar with DOS as well as a number of different program languages..

I have several key programs (about 12) that I need to port or rewrite for use in Linux. These were written using Visual Basic 5/6 with a number of API calls. I'm sure I can't port these Visual Basic 5/6 programs directly over, but I am not sure:
(1) what programming language(s) will work under Linux, and
(2) which languages have good forum support for any questions I may have regarding the language finally chosen.

The programs I need to port do a lot of 2D graphics so a graphics library is of most importance.

Is C, C++, Java, or some form of a Basic available?

Thanks
David

I wanted to thank you for your question. It inspired me to write an article on the IDEs and compilers for Linux. I hope to release it in a couple of weeks.
 
Again thanks for input. Will take a look at NetBeans but right now my biggest concern is picking a language that will be around and portable between any OS.
Just tired of having to redo code because someone - in this case Microsoft - changes their direction and leaves everyone hanging. VB Classic (with API calls) was the fastest development environment IMO, and most importantly, the "language syntax" was straight forward so that if one picked up the code a year or two later, it took little effort to identify what and where changes needed to be made.
Never understood why language developers always went with a "unique" rather than English syntax as the compiler will handle it either way. Just makes the coders job more difficult to maintain ones code as it ages.

Haven't searched yet but hope I can find a XCross Reference of API calls between
Java and Microsoft. I f I can locate one, than writing a parser to convert the syntax between the two "might" speed up my code conversion.
 
Again thanks for input. Will take a look at NetBeans but right now my biggest concern is picking a language that will be around and portable between any OS.
Just tired of having to redo code because someone - in this case Microsoft - changes their direction and leaves everyone hanging. VB Classic (with API calls) was the fastest development environment IMO, and most importantly, the "language syntax" was straight forward so that if one picked up the code a year or two later, it took little effort to identify what and where changes needed to be made.
Never understood why language developers always went with a "unique" rather than English syntax as the compiler will handle it either way. Just makes the coders job more difficult to maintain ones code as it ages.

Haven't searched yet but hope I can find a XCross Reference of API calls between
Java and Microsoft. I f I can locate one, than writing a parser to convert the syntax between the two "might" speed up my code conversion.

C/C++ is very portable as well as Python3. When using C/C++, avoid syscalls, and in Python3, avoid os.system() and subprocess.call() commands. Then, your code should work on most systems.
 
Interesting that you say C++. I remember reading an article a couple of years back by the gentleman who came up with C++ ( a Scandinavian last name as I recall) who was concerned over C++ being deprecated in a couple of years. Never looked at Python3. I have a lot of C++ reference material but haven't coded in C++ since I went to VB5/6. Microsoft deprecated its Visual C++ at the same time they did VB5/6 with their push to NET.

Played a bit with Linux Ubuntu. Also checked yesterday at the local junior college near me for a non-credit course on Linux and one starts 5/27 so my timing is good.

Couple other things I wanted to clarify for myself are:
1) Hardware driver support under Linux. My assumption here is that you need to load device drivers the same as in Windows - OR - can you bypass and deal directly with each piece of hardware?
2) Having a 64 bit system versus 32 bit. Will Linux run on either or do I need a version specific for each?

Thanks
David
 
Interesting that you say C++. I remember reading an article a couple of years back by the gentleman who came up with C++ ( a Scandinavian last name as I recall) who was concerned over C++ being deprecated in a couple of years. Never looked at Python3. I have a lot of C++ reference material but haven't coded in C++ since I went to VB5/6. Microsoft deprecated its Visual C++ at the same time they did VB5/6 with their push to NET.

Played a bit with Linux Ubuntu. Also checked yesterday at the local junior college near me for a non-credit course on Linux and one starts 5/27 so my timing is good.

Couple other things I wanted to clarify for myself are:
1) Hardware driver support under Linux. My assumption here is that you need to load device drivers the same as in Windows - OR - can you bypass and deal directly with each piece of hardware?
2) Having a 64 bit system versus 32 bit. Will Linux run on either or do I need a version specific for each?

Thanks
David

C++ is far from ever being deprecated. In my opinion, C++ will be deprecated when computers and electricity are obsolete.

The Linux kernel manages the drivers itself. Very rarely have I ever seen someone need a driver (which is a .ko file. ko = Kernel Object).

A 32-bit OS can run on 64 or 32 bit hardware. However, the best performance is seen when running a 64-bit OS on 64-bit hardware.


I recently learned about Monodevelop which is a Linux IDE for .NET and Basic.
 
Instead of answering the original question asked, I would like to ask an alternative question.

What languages, current and from the past, are NOT available under Linux???

Off the top of my head, with my knowledge of computer languages, I can't think of any! ;^)
 
Interesting that you say C++. I remember reading an article a couple of years back by the gentleman who came up with C++ ( a Scandinavian last name as I recall) who was concerned over C++ being deprecated in a couple of years.

Bjarne Stroustrup is the author of the C++ Programming language.

C & C++ are FAR from becoming obsolete! ;^) C being the language used to develop and maintain the Linux kernel. Many applications, libraries, etc... are being developed in C and C++, and will be for many many years to come. The C++ Standard was updated in 2011 (C++11), and work is being done to update it as (C++14).
 
Instead of answering the original question asked, I would like to ask an alternative question.

What languages, current and from the past, are NOT available under Linux???

Off the top of my head, with my knowledge of computer languages, I can't think of any! ;^)

Same here.
 
Can any one please send me link of config for Linux 3.15 version.....its urgent......thanks in advance
 
Can any one please send me link of config for Linux 3.15 version.....its urgent......thanks in advance

The config file for the Linux kernel source code is something you must make for your system for best results (Shell:$ make menuconfig). The kernel already comes with a standard config file (which may not be setup correctly for your system. Every application even has its own config file specifically for that application. A config file is not something someone can just send to you unless they have a copy of your source code.
 
Thank you for your reply.Iam working on RS-485 Linux driver for kernel version 3.8, before starting I want to test it using a user space code given in RS-485.txt in the kernel. But i am facing problem in IOCTL commands....so, please give me suggestion. If possible please send me link of sample code.
 
Thank you for your reply.Iam working on RS-485 Linux driver for kernel version 3.8, before starting I want to test it using a user space code given in RS-485.txt in the kernel. But i am facing problem in IOCTL commands....so, please give me suggestion. If possible please send me link of sample code.

Ask your question in a new thread. We prefer to keep threads on one topic. This is a good place to open a thread on this topic (http://www.linux.org/forums/linux-hardware.21/). In your question, place "@DevynCJohnson" somewhere so I will receive a notification that someone mentioned me (this will help me find your question). Also, be detailed and explain what you are doing and why. Specific error messages help (if any appeared).
 


Top