•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 425,983 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,617 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 5387 | Replies: 10
![]() |
•
•
Join Date: Feb 2002
Location: Los Angeles
Posts: 625
Reputation:
Rep Power: 8
Solved Threads: 10
•
•
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation:
Rep Power: 12
Solved Threads: 4
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.
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.
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
•
•
Join Date: Feb 2002
Location: Los Angeles
Posts: 625
Reputation:
Rep Power: 8
Solved Threads: 10
•
•
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation:
Rep Power: 12
Solved Threads: 4
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.
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.
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
•
•
Join Date: May 2002
Location: Tucson, AZ - formerly LI, NY
Posts: 625
Reputation:
Rep Power: 12
Solved Threads: 8
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... :-\
"I do not feel obliged to believe that the same God who has endowed us with sense, reason, and intellect has intended us to forgo their use." - Galileo Galilei
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
•
•
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation:
Rep Power: 12
Solved Threads: 4
Nope... sorry. Assembly language is very machine specific. Mac CPUs have a different architecture than PC CPUs.
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
•
•
Join Date: May 2002
Location: Tucson, AZ - formerly LI, NY
Posts: 625
Reputation:
Rep Power: 12
Solved Threads: 8
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!
"I do not feel obliged to believe that the same God who has endowed us with sense, reason, and intellect has intended us to forgo their use." - Galileo Galilei
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
•
•
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation:
Rep Power: 12
Solved Threads: 4
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.
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
api apple asm assembly x86 programming hla demo blogger blogging c c++ ccna cocoa code coding competition compiler compilers computer debugging developer development errors evaluation framework gdata google high-performance innovation java languages linerider mcse microsystems networking news next object online open oriented planning platform practices programming python rss software step steps sun tools tutorials xml
- Shell Programming (Shell Scripting)
- Where to get started with Web Programming (IT Careers and Business)
- Programming in Linux? (*nix Software)
- Help Me on Symbian(OS) Programming with c++ (C++)
- Good books on Shell Programming/Perl (Perl)
- Efficient Programming (Computer Science and Software Design)
- New To Programming = ME!! (C++)
Other Threads in the C++ Forum
- Previous Thread: How To Write A Function
- Next Thread: Error :(



Linear Mode