LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-08-2003, 09:50 AM   #46
cjhills
LQ Newbie
 
Registered: Jan 2003
Posts: 9

Rep: Reputation: 0

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
 
Old 01-08-2003, 10:00 AM   #47
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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??
 
Old 01-08-2003, 06:41 PM   #48
cjhills
LQ Newbie
 
Registered: Jan 2003
Posts: 9

Rep: Reputation: 0
Not at all advanced. I posted a message on the Newbe forum. look for "patch work" and read where I am.
 
Old 01-08-2003, 08:12 PM   #49
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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.
 
Old 01-11-2003, 10:40 AM   #50
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Rep: Reputation: 15
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
 
Old 01-11-2003, 12:02 PM   #51
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
Quote:
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.
 
Old 01-11-2003, 07:03 PM   #52
G.P.P.
LQ Newbie
 
Registered: Jan 2003
Distribution: Slackware SUSE
Posts: 4

Rep: Reputation: 0
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

Last edited by G.P.P.; 01-12-2003 at 10:49 AM.
 
Old 01-12-2003, 10:31 AM   #53
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Rep: Reputation: 15
Quote:
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
 
Old 01-12-2003, 02:11 PM   #54
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Quote:
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.

 
Old 01-13-2003, 04:02 PM   #55
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
G.P.P.,

what are you talking about? are you drunk? I can't make any sense of your post or why it's here. furthermore it's full of technical incosistenices.

Believe it or not a few people do use ASM as thier language of choice. Just google for "win32 asm".

You can't write directly to mem address with VB AFAIK.
 
Old 01-13-2003, 05:05 PM   #56
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Like you said, a few... compeared to the millons of C programmers, the asm programmers are JUST a few.

And <I think> he is talking about a variable... you write to A mem address with VB.. you can't choose it... in fact the OS does that.

Last edited by Ciccio; 01-13-2003 at 05:10 PM.
 
Old 01-13-2003, 05:07 PM   #57
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
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.


Programming Moderator
 
  


Reply



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
Difference between Top Down programming & Bottom up programming minil Programming 1 06-17-2005 02:42 AM
New Forum for Linux-Gurus[Programming/Administration] or Linux-Advanced Users [ Progr raees LQ Suggestions & Feedback 5 04-12-2005 07:35 PM
C/C++ programming for linux leeman_s Linux - General 6 01-28-2003 06:16 PM
Exp. Windows/Linux-Script Programmer - Need Linux Programming Mentor! ruttiger Linux - Newbie 2 10-28-2001 11:00 AM
New to Linux programming .... need help Izhar Programming 2 10-17-2001 03:34 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:45 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration