943,484 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 7829
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Jun 16th, 2002
0

Programming

Expand Post »
Let me ask you guys something what is the toughest type of Programming Language on techtalk?
Similar Threads
Reputation Points: 58
Solved Threads: 14
Practically a Master Poster
MAD_DOG is offline Offline
626 posts
since Feb 2002
Jun 16th, 2002
0

Re:Programming

The toughest one listed in this forum? Or overall toughest. I think the toughest language to pick up listed in this forum is probably Perl, compared to C++/C and Java. Java has a steeper learning curve in which it forces you to really understand OOP in the beginning, which C++ does not. As you programs get more complicated, because C++ gives you more control over low level operations than Java does, C++ programs can get messier than Java.

The only thing I don't like about Perl is its syntax, especially when you do shortcuts. That's probably because I come from a C++/Java/Windows world, and not used to all the little cryptic syntax from Perl/Unix/Linux.

Overall though, I think the hardest language to program in is Assembly Language. That is a language that you have to use a reference book to program with. You can't program without it.
Team Colleague
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
samaru is offline Offline
1,227 posts
since Feb 2002
Jun 16th, 2002
0

Re:Programming

Is that Machine Langage like Device Drivers and stuff?
Reputation Points: 58
Solved Threads: 14
Practically a Master Poster
MAD_DOG is offline Offline
626 posts
since Feb 2002
Jun 16th, 2002
0

Re:Programming

Well, device drivers can be programmed in C++ now. But under the hood, at one time, it had to be created in assembly language. Assembly language is the closest to actual machine language (0's and 1's), so usually the programs that were written in it run fast because there's not much overhead as C++ or even worse, something like QBASIC. Programs are usuall small too. I wrote a small executable (.COM) program that rebooted the computer... 2 byte program. Yes, 2 bytes, not kilobytes, but bytes. That's the smallest you can get.

Here's a typical Assembly program written for the Turbo Assembler compiler. It prints out "Yo, I be da master of ebonics!"


; A program that displays line of text.
.MODEL SMALL
.STACK 100h

.DATA
DISPLAY DB 13,10,'Yo, I be da master of ebonics!$'

.CODE
START:

MOV AX,@DATA
MOV DS,AX
MOV AH,9
MOV DX,OFFSET DISPLAY
INT 21h

MOV AH,0
INT 16h MOV

AH,4Ch
INT 21h

END START

Assembly Language was popular in the Demo Scene - a community of programmers/hackers that made graphical special effects through assembly. It usually promoted their coding team or some other event. This was more popular in the late 80's and early nineties. Now I don't think it's as popular... around here anyways.


If you would like to see some examples of what these "Demos" are like, check out the link from my site:

http://www.xeonstudio.com/prog/prog.htm#demos

I've had some trouble running these on my W2K machine, but most of them work. My favorite ones are Astral Blur, Tribes, and Machines of Madness.
Team Colleague
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
samaru is offline Offline
1,227 posts
since Feb 2002
Jun 17th, 2002
0

Re:Programming

why am i going 2 ask this question? i know the answer! so why am i still compelled to ask? curiousity? yes! fascination? yes! real of possiblities?.... i know assembler is a pc based language, although i dont know if its strickly CISC/486x based, or possibly RISC compatible as well - my question (drumroll plz) is cant i run it/demos on my Mac? no, of course not! had 2 ask, just incase the obvious isnt quite so in this particular instance... :-\
Team Colleague
Reputation Points: 186
Solved Threads: 8
Team Member - aka kaynine
aeinstein is offline Offline
643 posts
since May 2002
Jun 17th, 2002
0

Re:Programming

Nope... sorry. Assembly language is very machine specific. Mac CPUs have a different architecture than PC CPUs.
Team Colleague
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
samaru is offline Offline
1,227 posts
since Feb 2002
Jun 18th, 2002
0

Re:Programming

yeah, i new about the diffs btwn the Intel Complex sets and the Motorolla Reduced sets but wasnt quite sure there was a Magic Compiller out there that would, well, work magic!
Team Colleague
Reputation Points: 186
Solved Threads: 8
Team Member - aka kaynine
aeinstein is offline Offline
643 posts
since May 2002
Jun 18th, 2002
0

Re:Programming

That would be a cool... a magical compiler. You open up your source code and it will compile for whatever computer in the world you wanted.
Team Colleague
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
samaru is offline Offline
1,227 posts
since Feb 2002
May 21st, 2008
-1

Re: Programming

You don't see many anymore, but it's call a cross-compiler. Takes assembly code for one machine type and compiles it for a different one.
Reputation Points: 6
Solved Threads: 0
Newbie Poster
azwiz is offline Offline
3 posts
since Feb 2008
May 21st, 2008
1

Re: Programming

Congratulations on bumping a six year old thread.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: How To Write A Function
Next Thread in C++ Forum Timeline: Error :(





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC