ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok back in the days when the Adam and PCjunior along with the TI ruled the home desktops I learned BASIC. You know, Edlin. I wrote a simple Trignometry program in it just to better understand it. That was back then. I didn't stay current with programing (not my livelyhood). Now that I am going to start with Linux perhaps you could direct me to a similar program that I could use in the same capacity. I am trying to rekindle my intrest in programing. I think C and C++ is a little out of my league considering the time needed to understand it. What would be the closest thing to yesterday's basic that I could use in today's Linux.
Thank you for your time
Charles J. Hills
AS I see it you could lear bash scripting.... is pretty much like writing in the command line but using pipes and redirect, and of course loops binary decision making and multi decision making (CASE). Simply by knowing how to use a command you can write a simple script.... but when you get deep´in bash scripting you can create wonderull scripts. How advanced in linux are you??
I see. Now... I think the best high level language is bash+awk. Once you know those two you can do almost every simple task that could get a little trickie when doing it from a command line. For example recursiveley rename files but with a different character... that you could do witha a loop and a little awk.
If you want to learn a 'real' programmiung language... well, the best for linux is C, since the kernel is written in C. Still, this is a complex and very low level language and may not be easy to learn.
Originally posted by chens_83 C is still not clasified as a low level language. It is still in the high level bracket
ie it has to be compiled into machine code to be executed
By your definition there is no such thing as a low level language. EVERYTHING has to be compiled into machine code! Even ASM needs to be compiled, if only to write executable headers. If we went by your definition of low level language the only thing that wouldn't be a LLL would be a debugger! C is a low-level language. If you can write directly to memory addresses, it's a low level language ... at least by my definition.
it's pretty simple... if you're a genius but not able to keep any command in mind, try BRAINFUCK (just type in a s-mashine) ..only 8 commands and totally turing
if youre well developed with your brain try the best language depending on subject
if youre pessimist, just try asm... and think about how a computer works... then you'll get to know that there are the base-logic operations AMD OR NOT which are combined to NAND NOR XOR etc. and then try understanding addition in logical math.. next try flipflopps ... you'll agree: If something already is working in the way you need it, make a unit, subroutine, function (or how ever you wanna call it) and use that one... a adder is a function for the logical term a addition .. you can use that term for combination to a multiplication and next for powering .. and so on...
...so, if you're very basically developing (a OS).. you'll have to try ASM fopr at least the first commands to the mashine... (the only OS I know which is written C++ is BeOS and also that one includes a huge amount of ASM) ...
The next steps you'll see is best to go by a asm-near lang.. such as C.. (filesystem, systemcalls etc.)
then you could try C++ for the Terminal ... or any ther easy to administrate langauge in huge projects...
and thats the was how developing works, first go to university (also without imatriculating if it's allowed) and learn everything in physics and math about logical terms... then you'll be able to do everything that you're able to imagine in that way, but it'll take some time of course...
for an example: Windows as an OS is running stable first since been called KaiRo (WinXP).. win3.1 was stable but not a OS, just an app
as long as i doan need to make anything very beatyful, i wont use XML, I'll keep on HtML, couse its easy to use and also portable... just a comparison for the ones who doan understand anything of progging but creating websites
Originally posted by lackluster By your definition there is no such thing as a low level language. EVERYTHING has to be compiled into machine code! Even ASM needs to be compiled, if only to write executable headers. If we went by your definition of low level language the only thing that wouldn't be a LLL would be a debugger! C is a low-level language. If you can write directly to memory addresses, it's a low level language ... at least by my definition.
ok sorry about the wording, but can you please define writing to memory.. I believe i can write to a memory address in VB but just give that memory address a value. go search on the googler and look for high level programming languages, VB is ment to be above c/c++/java. most ppl define C as high level language because its higher than asm i spose?.
Now please correct me if im wrong
VB is higher than c/c++
C/C++ is higher than asm
asm is higher than machine code
therefore c/c++ is classed as a high level language
Now please correct me if im wrong
VB is higher than c/c++
C/C++ is higher than asm
asm is higher than machine code
therefore c/c++ is classed as a high level language
Yes, VB>C/C++>ASM. But still C/C++ is considered as a low level language by many people since you can write to memory addresses directly.
For that matter Asam is also a high level language since there is ,achine code that is lower level. I think there is not a defined line between high and low level.... and i think that not defined line is above or below C/C++. Besides... does it really matter??? C is the first language after ASM... and now people don't use ASM any more... so we can say the C is the lower level language that is still in use by many programmers. And yes, there are still some things that need to be done in ASM... but they are small functions that need dynamic compilation and stuff like that.
Until these last few posts this thread has managed to stay mostly on subject. Please keep in mind the rules for posting on LQ. Just to mention two:
Quote:
Do not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, or otherwise violative of any laws.
Challenge others' points of view and opinions, but do so respectfully and thoughtfully ... without insult and personal attack. Differing opinions is one of the things that make this site great.
Let's keep the posts on subject and constructive so the thread can remain open.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.