![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
The subject of computer science doesn't have much to do with computer hardware, according to Wiki, people were thinking about changing its name to something else. Computer engineering on the other hand is all to do with the hardware.
|
|
|
|
|
|
|
(permalink) | |
|
You might ask why C is still with us after 35 years when other languages from that time period have either faded into obscurity or morphed to the point where they are unrecognizable.
In part it is because C is a mid level language. To criticize C for being hard to read is misplaced. C is very much like any other procedural language. The one exception is the use of pointers. C pointers are not an overly complex topic but can be challenging to the ADD crowd. Pointers are there because they are a fast, efficient, way of handling data. No apologies required. Unreadability complaints should be directed at the guy who wrote the code. Regardless of the language readability is ultimately up to the programmer. http://www2.lv.psu.edu/ojj/courses/i...1971-1990.html Quote:
__________________
search engine for electronic partsJunebug USB PIC programmer kit., USB Bit Wacker, Homepage The 15 Minute Printed Circuit Board! (+drill time) |
||
|
|
|
|
|
(permalink) | |
|
Quote:
I know this isn't pic specific but I just had to mention that quirk. Mike. P.S. What is the "ADD" crowd? |
||
|
|
|
|
|
(permalink) | |
|
Quote:
Mostly a bunch of hooey IMHO.
__________________
search engine for electronic partsJunebug USB PIC programmer kit., USB Bit Wacker, Homepage The 15 Minute Printed Circuit Board! (+drill time) |
||
|
|
|
|
|
(permalink) |
|
__________________
========================= Futz's Microcontrollers & Robotics ========================= |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Torben |
||
|
|
|
|
|
(permalink) | |
|
No need to take note to the billions of C related back and forth arguments on the web. All one has to do is take note of a single thread, like this one, to see how a language ought not to be the main discussion as opposed to what the language is attemping to accomplish. And I quote my first reply:
Quote:
|
||
|
|
|
|
|
(permalink) | ||
|
Quote:
Your first (elided) line reads: Quote:
The limited power of microcontrollers leaves them stuck back in the realm of 1970's languages as surely as any CPU running at less than the several gigahertz necessary to run post-1970's languages. I am more productive in C than I would be in assembler and accept the *potential* performance hit. C is for me far less difficult to read than the PIC assembler's obscure mnemonics (the z80 mnemonics were easier and it *was* from the 70's!!!) That said I grudgingly accept that many of the F84 die hards on here would prefer to program in assembler and may actually believe themselves to be more productive in it :-P <sarcasm off> P. |
|||
|
|
|
|
|
(permalink) | |
|
Quote:
I would suggest (and often do) if you come from a Z80 background, the AVR is probably a better choice than a PIC - but if you're using C, then it doesn't really matter. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
The fact that we still use this 1970's language speaks to its robustness.
__________________
search engine for electronic partsJunebug USB PIC programmer kit., USB Bit Wacker, Homepage The 15 Minute Printed Circuit Board! (+drill time) |
||
|
|
|
|
|
(permalink) | ||
|
Quote:
So no, RISC is no issue and nor is the Harvard architecture - the beauty of having studied computer science and electronic engineering more than 20 years ago I guess ;-) Or it could be that working for a company doing work in Unix kernels for Fujitsu supercomputers, SGI, Sun etc. helped... but I digress. Quote:
Indeed it doesn't matter... and I have found the PIC 18F series to be very easy to use parts. I wouldn't give up the debugging abilities of the USB connections of the 18F2550/4550 series for anything!! It has radically increased my productivity in conjunction with C and the MPLAB/C18 combo. YMMV, P. |
|||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Magnets and Electromagnets | ElectroMaster | Electronic Theory | 11 | 27th November 2007 02:31 PM |
| PIC code problem | Gaston | Micro Controllers | 9 | 7th March 2007 02:23 AM |
| Charge batteries using tel lines | electroniks | Electronic Projects Design/Ideas/Reviews | 5 | 16th April 2006 06:54 PM |
| running sort of output lines.................... | anand_jain | Micro Controllers | 1 | 11th July 2004 02:31 AM |
| TV- Lines in the picture | Johnson777717 | General Electronics Chat | 2 | 1st April 2004 12:10 AM |