Question:
Whats the better language: ASM or Delphi?
peepoohead7
2009-02-27 16:07:20 UTC
I've heard that Delphi can be compiled into asm code...
Four answers:
anonymous
2009-02-27 16:37:16 UTC
That's the same than asking if a hammer is better than a screwdriver. Computer languages are tools, some are better for solving a particular problem than others, depends on what your trying to do.
Shadow Wolf
2009-02-27 16:32:31 UTC
You can do the same with C, C++, C#, several versions of BASIC, Pascal, Fortran, and the list goes on and on.



Which is better depends on what you are trying to do.



If you are trying to write a program that is small and fast, then assembly may be the better choice. If you are trying to write a large complex program where speed is not an issue then Delphi may be the better choice. In some comparison tests, well written C is very nearly identical in speed to pure assembly. Delphi also tends to come fairly close.



Development time can also be a factor. In assembly, you have to spend more time dealing with all the details of handling things. In any higher level language, many of the details are taken care of for you and you can save huge amounts of development time.



I often do small programs in "obsolete" Qbasic. Even the interpreter version is often fast enough for small custom programs that process large amounts of data and may only get used once. A compiled version written in Delphi or any of several other high level languages would only run faster.



Your language choice is your's to make. However, it usually strains fewer brain cells to use a higher level language.



Shadow Wolf
Lie Ryan
2009-02-28 05:45:45 UTC
In fact, most languages compiles to asm code. Most modern compilers compiles to asm before compiling to machine code.



Nowadays, a decent compiler would easily beat experienced assembly programmer. For a very very small section of code, it is possible to beat compilers, but when writing a even a small sized application hand assembly is not just wasting programmer's time, but also compilers does a much better job at it.
dejerinett
2016-10-04 06:29:01 UTC
Spanish or considered one of those chinese language (mandarin or cantonese i don't comprehend) might in all hazard be the main smart. i prefer to get lower back right into a French type in the autumn because of the fact I enjoyed it yet i don't comprehend if it may well be too smart except i grew to become into going to France, Canada or Brazil (french-portuguese don'tcha comprehend). I already talk Mexicanese (mexican spanish) so i assume i'm ok there. Polish may well be relaxing, or an jap eu language. idk. upload: I forgot Arabic! it will in all hazard be super smart, even with the incontrovertible fact that i've got constantly had to learn Gaelic. difficult to discover a instructor nonetheless. upload: HR669, holy crap! (I have been given curious shrugs)


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...