Matan
|
2009-02-23
, 16:56
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#21
|
|
2009-02-23
, 17:10
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#22
|
with all the readability and maintainability of assembly language.
The Following User Says Thank You to lardman For This Useful Post: | ||
|
2009-02-23
, 17:32
|
Posts: 37 |
Thanked: 9 times |
Joined on Nov 2008
|
#23
|
|
2009-02-23
, 17:40
|
Posts: 37 |
Thanked: 9 times |
Joined on Nov 2008
|
#24
|
C is a language that combines all the elegance and power of assembly language with all the readability and maintainability of assembly language.
|
2009-02-23
, 17:41
|
Posts: 503 |
Thanked: 267 times |
Joined on Jul 2006
@ Helsinki
|
#25
|
Speed is not a matter of choosing a certain language, speed is a matter of choosing the right algorithms.
Apart from that, writing whole programs in assembler is not recommended on modern operating systems because you would have to program against a C-level interface. But nothing (except for portability) speaks against writing small functions (e.g. for image processing) in assembler. But don't get the illusion that asm is faster than C. Most C-compilers nowadays produce optimized asm code that is faster than anything you would write yourself in asm.
|
2009-02-23
, 17:59
|
Posts: 37 |
Thanked: 9 times |
Joined on Nov 2008
|
#26
|
C is no compromise. If you never programmed in assembly (or C, C++, python, perl) then your assembly code is not going to be faster than your C code for anything more useful then a countdown loop, for at least a few years. By then, even ARM might be superscalar and out of order, so you will need to start optimizing your super fast code all over again.
If you do want to learn ARM assembly (it is useful for a lot of things, just not for speed), you need the ARM ARM, since that is the standard text.
|
2009-02-23
, 18:30
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#27
|
I agree with this, but I think, it is more a function of modern optimizing compilers rather than the language per se.
|
2009-02-23
, 18:35
|
|
Posts: 566 |
Thanked: 145 times |
Joined on Feb 2008
@ Tallahassee, FL
|
#28
|
Back in the days when I did assembly programming myself I didn't have to think of any of that (6502, z80,6809, minicomputer assembly).
|
2009-02-23
, 23:34
|
Posts: 45 |
Thanked: 17 times |
Joined on Nov 2008
@ Montreal, Canada
|
#29
|
Tags |
arm, asm, programming |
Thread Tools | |
|