Home |
Search |
Today's Posts |
#12
![]() |
|||
|
|||
![]()
Richard Clark wrote:
... programmer. Besides, C is a pretty crummy language with even more horrid library syntaxes (assembler is far more elegant). 73's Richard Clark, KB7QHC A lot of people like to think themselves programmers, real programmers use C/C++. (Weekend programmers use visual basic) C is simply a macro language which calls assembler procedures and functions--Dennis Richie was a real assembly language programmer, he simply designed a "shorthand" language for using assembler--C itself was written in assembler--nowadays C can compile and link itself ... a real C programmer will add to the C libraries and include files using assembler definitions, procedures and functions. While every subroutine of a C program is a function, they can be written as procedures which are only cloaked as functions. Example: #include iostream void helloworldprocedure(void) { cout "hello world!" endl; } void main(void) { helloworldprocedure(); } .... takes no parameters, returns none ... I think most C programmers prefer to program in assembly (but with windows allowing NO direct access of devices, peripherals, memory or disk--why bother, assembly can only be used as a wrapper to call windows libs/dlls/activex/scripts/etc., or custom ones--linux can be made to allow direct access), however, C adds a productivity factor of magnitudes over assembly. No other language offers the efficiency of program "character text" (source code) to actual binary code compiled/linked by C. Indeed, any C compiler I have ever seen gives a option to spit out assembler source .... and the assembler source so generated is quite capable of being assembled/linked by an assembler/linker for the platform in question. C simply has no rules which cannot be broken, even if it breaks all programming rules, and you want to override them, go ahead! (bill gates won't let you break windows rules though :-( )--C is only structured if you program in a structured style. For that reason alone, it is not a good language for newbie programmers ... JS |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
FA: 1-Day-Left: 3 Books: MICROPROCESSORS, ASSEMBLY LANGUAGE Programming, 8080, Z-80, Etc. | Equipment | |||
PicBasic Pro Compiler Ver 2.43 | Homebrew | |||
PicBasic Pro Compiler Ver 2.43 | Homebrew |