the power of assembly

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

houston
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 17
Joined: Sat Nov 27, 2010 7:44 pm
Current Project: SDL_xhtml engine
Favorite Gaming Platforms: PC, MacOS, Linux, iPhone
Programming Language of Choice: Assembly, C, C++
Location: Belfast N/Ireland
Contact:

Re: the power of assembly

Post by houston »

GyroVorbis wrote:C was not designed to "replace" assembly, and it could not possibly ever do that. As I said before, there are processor-specific opcodes and registers can provide extremely useful functionality that are literally inaccessible due to the platform-independent nature of higher level languages.

Yes, as far as general software development goes, there is almost no compelling reason to go that low level. But there are still times and places (especially when integrating with hardware or working on embedded platforms) where you literally do not have any choice.

Actually C was designed as a replacement of assembly by Dennis Ritchie back in the early 70's so that programs could be portable across UNIX systems, not as "replace" in the sense to do away with it!


houston
Post Reply