Asembly vs. C , C++, Java

Status
You're currently viewing only Thanatos's posts. Click here to go back to viewing the entire thread.
Not open for further replies.
I want to ask one question. I really don't understand the idea why programmers need C, C++ or Java. Assembly what is need for programmers. Right? Assembly is faster and directly communicate with hardware. No need JDK, or linker or etc.
Yeah, you just write an error-free, million line, object oriented GUI program with assembly, then get back to us. :rolleyes:

Modern compilers are far better at assembly optimization than all but the best lowlevel programmers, and don't make mistakes (well, other than compiler bugs...) The highlevel mindset also makes program design and maintenance easier.

(I posted this in both threads as I don't know which will be locked)
 
In a post from Paul Demone, he mentioned that x86 CPUs have about a 30% loss in performace do to the not so great qualities of their ISA (I hope I'm not misquoting him, I'm 99% sure that was the figure). But since x86 CPUs have access to the best processes and engineering they can make up for it.
Hannibal might disagree with you on that one:
The main drawback to using microcode to implement an ISA is that the microcode engine was, in the beginning, slower than direct execution. (Modern microcode engines are about 99% as fast as direct execution.) However, the ability to separate ISA design from microarchitectural implementation was so significant for the development of modern computing that the small speed hit incurred was well worth it.
(emphasis mine)
 
Status
You're currently viewing only Thanatos's posts. Click here to go back to viewing the entire thread.
Not open for further replies.