Re: a common belief or a wrong C[++] compiler?
From: wolfgang kern (nowhere_at_nevernet.at)
Date: 08/15/04
- Next message: Percival: "Re: Note to "The Wannabee" on religion"
- Previous message: wolfgang kern: "Re: a common belief or a wrong C[++] compiler?"
- In reply to: gpcea: "Re: a common belief or a wrong C[++] compiler?"
- Next in thread: Betov: "Re: a common belief or a wrong C[++] compiler?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 15 Aug 2004 23:06:39 +0200
"gpcea" replied:
| I wrote:
| > There will be never any tool that can produce
| > better/faster/shorter/smarter code than a 'working' human brain.
| Yes, but don't you think that _large_ programs like
| gcc, glibc, windows, linux etc. will take too long
| to author in assembly/hexadecimal?
No, I could paste all code I've ever written during the last
twenty-five years into one huge file as well,
this would be about the size of windoze-NT including all backwards,
but I can't see any sense in doing this :)
And I don't need longer than any HLL-programmer to get
a piece of code working and added to whatsoever.
| Or, is it your opinion that the above projects are
| too bloated?
Yes, bloated by far useless detours and paranoid OS safety concepts.
| Also, compilers like gcc will achieve success only
| if they port to maximum architectures. How can that
| be done easily if the entire prog. is written in
| assembly/hexadecimal?
ASM isn't the language to make portable source for different CPUs.
IA-32 ASM created code is direct portable to all IA-32 CPUs
without re-compile with different compiler switches
(as long SSE/3Dnow isn't used, or both options are implemented).
| > If you already know 50% of the IA-32 instructions
| > (my view: half of the whole set is useless anyway)
| Really!? I'm rather new to assembly. Which instructions
| in the IA-32 set are useless? MMX? SSE[2/3]? 3D NOW!?...
For me, with my very own numeric types, almost all FP-instructions,
including single/double-packets, and:
BOUND/INTO/AAA/AAD/AAM/AAS/DAA/DAS/IDIV/INVLPG/ENTER/LEAVE/CMOV/LAR/
LLDT/LSL/LTR/SETcc/SLDT/STR/
and (these you may not recognise in ASM) all double coded
ADD/.../XOR, INC/DEC and MOV's.
But it will depend on the programmers taste,
which instructions may be seen useful or not.
| > Why is windoze that bloated?
| > When Billy started coding, programmers were paid per Kbyte.
| :-)) That's funny :-))
Yeah, funny. But unfortunately true.
__
wolfgang
- Next message: Percival: "Re: Note to "The Wannabee" on religion"
- Previous message: wolfgang kern: "Re: a common belief or a wrong C[++] compiler?"
- In reply to: gpcea: "Re: a common belief or a wrong C[++] compiler?"
- Next in thread: Betov: "Re: a common belief or a wrong C[++] compiler?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|