Re: To RISC or not to RISC
- From: Phil Carmody <thefatphil_demunged@xxxxxxxxxxx>
- Date: 28 Oct 2006 12:51:13 +0300
"KJH" <k_jh77@xxxxxxxxx> writes:
Hi!
Me thinks RISC based processor is boring to program in assembly.
I love them.
I
might be wrong, but I have the impression that more and more modern
CPU's are being designed as RISC. Relatively small set of instructions,
fixed-length instructions, really intended to program in HLL. Vast set
of registers to use
The only processor with a vast set of register that I know is a VLIW,
rather than a traditional RISC. 32 isn't vast. On a G5, with 4
instructions per tick, 32 is register starvation.
, with usually funny names like R0 - R20 etc...
ITYM 'sensible names'.
In contrast, x86 has few registers, and you can even halve those regs
into high and lo part and xchg those if it makes sense :) You got all
these special opcodes to do tiny little things, and you can really play
with the code... Focus on to details. That's what I like.
I don't get that 'assembly' feeling when I'm coding for example ARM.
It's not bad, but it doesn't give me the kick. Too little instructions
to choose :( I'm afraid that pure assembly coding is getting in the
future in position where it just isn't practical to do (if it is even
nowadays), but I don't want to code in C or it's nephews. Not much
anyway. I want to fiddle bits, and make ultratight loops, even if it
takes a little bit longer to code in low-level.
What do people here think about? How many will admit that they enjoy
pure ASM coding? It seems sometimes like it's almost criminal to enjoy
programming in assembly, but what can you do when you have seen the
light? ;)
Most of the really good coders I know are perfectly happy in asm.
I don't do it often, but when I do it, I enjoy it.
Phil
--
"Home taping is killing big business profits. We left this side blank
so you can help." -- Dead Kennedys, written upon the B-side of tapes of
/In God We Trust, Inc./.
.
- References:
- To RISC or not to RISC
- From: KJH
- To RISC or not to RISC
- Prev by Date: Re: A modern view of the halting problem
- Next by Date: Re: 12 Misconceptions
- Previous by thread: Re: To RISC or not to RISC
- Next by thread: Re: To RISC or not to RISC
- Index(es):
Relevant Pages
|