Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmvpEspen Harlinn1-Mar-12 9:55 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberPIEBALDconsult1-Mar-12 11:00 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmvpEspen Harlinn1-Mar-12 11:05 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw2-Mar-12 5:30 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberSanmayce3-Mar-12 6:15 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw3-Mar-12 8:33 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberSanmayce3-Mar-12 8:50 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw3-Mar-12 10:46 
"I defined a variable as a register and guess what despite the desperate need of this C has had other agenda - I mean C is good Assembly is best."
 
Well, ideally C ought to be kept distinct from processor specific features. Unfortunately, as I mentioned in my first post, such have been part and parcel of the language since its original specification. Or soon after. In fact, I for one would love to see the ++x/--x et al removed from the language, as they ARE based on the capabilities of the PDP-11.
 
That aside, I have ported C to the 6502, 6800, and even the PDP-10 processors, retaining various portions of the language as were feasible on a particular CPU. They worked very well. Yes, I had to rely on assembly code for the "down and dirty" things.
 
But not all CPUs have addressable registers, which would make such a capability in C a tad awkward, to say the least. To quote the Bible (sort of): "Render unto the assembler that which is the assembler's."
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberSanmayce5-Mar-12 4:18 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw5-Mar-12 5:09 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberSanmayce5-Mar-12 6:03 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw7-Mar-12 6:11 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberSanmayce8-Mar-12 8:36 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw8-Mar-12 9:11 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberSanmayce9-Mar-12 7:54 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw9-Mar-12 10:00 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw12-Mar-12 11:10 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberSanmayce14-Mar-12 8:03 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw16-Mar-12 2:18 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberSanmayce16-Mar-12 9:05 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRussell Ranshaw17-Mar-12 5:07 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberOshtri Deka1-Mar-12 10:18 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberPIEBALDconsult1-Mar-12 11:01 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberRob Ford 22-Mar-12 3:06 
GeneralRe: Are there reasons for beginner programmers to learn C ? PinmemberOshtri Deka2-Mar-12 9:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 18 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid