This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Code portability

Hello,
I was browsing through older posts that deal with the painful issue of portability (http://www.keil.com/forum/docs/thread8109.asp). I was (and still am) a big advocate of programming as much as possible conforming to the C standard, and having a layered structure that allowed "plugging-in" other hardware. But I have come to change my mind recently. I am reading the "ARM system developer's guide" (excellent book by the way. I'm reading it because I want to port some C167 code to an ARM9 environment) in which chapter 5 discusses writing efficient C code for an ARM. The point is, and it is fairly demonstrated, that even common, innocent looking C code can either be efficient of very inefficient on an ARM depending on specific choices made, let alone another processor used! So, if we are talking about squeezing every clock cycle out of a microcontroller - I do not believe that portability without ultimately littering the code is possible!

Parents
  • The difficulty I have is that the content of your posts is so rambling and unfocussed it it difficult to figure out what you're actually trying to say, if anything. Perhaps you just like to talk.

    Thanks for the feedback there. I shall keep that in mind. Sorry, I'll work on that. (I guess I do like to talk)

    What does an Emacs class of editor give you that you actually use which provides a real benefit in terms of development efficiency over the average editor supplied with an IDE?

    I would say that most of all, it is the familiarity of the editing tool as I go from one IDE to another: uVision, CodeComposer, CodeWarrior, Libero, Matlab, etc. (They don't have the Brief keymaping. After WordStar, Brief was "it" for me).

    Like erik said, the column based commands that help a lot. Also, the ability to customize the editor's color coding schema helps, the simple toupper/tolower utilities, the ability to control editing operations with limited scope, the ability to include files within the 'project' that are not part of the officially compiled source code, 'templates', the ability to centralize mulitiple projects under one roof (and be able to perform operations across them), highly flexable printing operations, spell checking, the ability to create a custom build processes, keystroke recording and playback, and the extensive fish-tracking toolset and library.

    And then you get into the meat-n-bones to an Emacs editor, where you can create your own functions and editing operations.

    Can you give any specific examples? It may be the case that most modern editors have caught up with most of the features that are really useful - and somebody is keeping it a secret from you.

    Even if they did catch up on the features, they would need to be consistant on how to invoke them in order to be useful. I don't want to remember that Ctrl+Alt+Shift+F7 does a tolower operation on one IDE, while Ctrl+Alt+Shift+F7 deletes the contents of the current directory on another IDE.

    I think *they* (most IDE's) are using the CUA keymaping (?not sure?), and although it is Windows notepad compatable, it was very limited...

    (I'm sure this is NOT an exhaustive list of commands, I just google'd it and this came up...)

    CUA Keyboard:
    www.lugaru.com/.../CUA.Keyboard.html

    Brief Keyboad:
    www.lugaru.com/.../Brief.Emulation.html

    Erik,

    I have seen no need/dsire to upgrade, is there significant problems with your release? what I have is just very minor nuisances.

    No my version of CodeWright is not problematic. I don't currently need the latest version (7.5), but it would be nice just to have.

    --Cpt. Vince Foster
    2nd Cannon Place
    Fort Marcy Park, VA

Reply
  • The difficulty I have is that the content of your posts is so rambling and unfocussed it it difficult to figure out what you're actually trying to say, if anything. Perhaps you just like to talk.

    Thanks for the feedback there. I shall keep that in mind. Sorry, I'll work on that. (I guess I do like to talk)

    What does an Emacs class of editor give you that you actually use which provides a real benefit in terms of development efficiency over the average editor supplied with an IDE?

    I would say that most of all, it is the familiarity of the editing tool as I go from one IDE to another: uVision, CodeComposer, CodeWarrior, Libero, Matlab, etc. (They don't have the Brief keymaping. After WordStar, Brief was "it" for me).

    Like erik said, the column based commands that help a lot. Also, the ability to customize the editor's color coding schema helps, the simple toupper/tolower utilities, the ability to control editing operations with limited scope, the ability to include files within the 'project' that are not part of the officially compiled source code, 'templates', the ability to centralize mulitiple projects under one roof (and be able to perform operations across them), highly flexable printing operations, spell checking, the ability to create a custom build processes, keystroke recording and playback, and the extensive fish-tracking toolset and library.

    And then you get into the meat-n-bones to an Emacs editor, where you can create your own functions and editing operations.

    Can you give any specific examples? It may be the case that most modern editors have caught up with most of the features that are really useful - and somebody is keeping it a secret from you.

    Even if they did catch up on the features, they would need to be consistant on how to invoke them in order to be useful. I don't want to remember that Ctrl+Alt+Shift+F7 does a tolower operation on one IDE, while Ctrl+Alt+Shift+F7 deletes the contents of the current directory on another IDE.

    I think *they* (most IDE's) are using the CUA keymaping (?not sure?), and although it is Windows notepad compatable, it was very limited...

    (I'm sure this is NOT an exhaustive list of commands, I just google'd it and this came up...)

    CUA Keyboard:
    www.lugaru.com/.../CUA.Keyboard.html

    Brief Keyboad:
    www.lugaru.com/.../Brief.Emulation.html

    Erik,

    I have seen no need/dsire to upgrade, is there significant problems with your release? what I have is just very minor nuisances.

    No my version of CodeWright is not problematic. I don't currently need the latest version (7.5), but it would be nice just to have.

    --Cpt. Vince Foster
    2nd Cannon Place
    Fort Marcy Park, VA

Children
  • Mr. Smoked Sardine asks I am curious - what does it do that the average editor built into the average IDE (eg uVision) doesn't?
    finding my answer not exhaustive enough he posts
    What does an Emacs class of editor give you that you actually use which provides a real benefit in terms of development efficiency over the average editor supplied with an IDE?
    then, after requesting a more exhaustive answer he posts
    The difficulty I have is that the content of your posts is so rambling

    do you have the cake you ate?

    Erik

  • erac,,,,

    i not be wanting pictueer of you!!!!!

    my man rafar wanting new becuase it broken and toren.

    he looking to gooogle and not seeing you and he be sadded!!!!!

    you be on bebo and youtube?????

    pleese you be having pictuer for man jafar?????

  • .. who I am, I see no reason to scare little children that might accidentially see my picture if it was on the web :)

    Erik

  • rahib, sir erac:

    If things goes on the this way, sir erac will have to following his own advise: start walking, and since that won't help (probably), switch to running !!!! :-)

    I will be gone for a while, vacation time!

  • I meant of course,

    "rahib, sir erac:

    If things go on the this way, sir erac will have to follow his own advise: start walking, and since that won't help (probably), switch to running !!!! :-)

    I will be gone for a while, vacation time!"

  • Mr. Smoked Sardine asks I am curious - what does it do that the average editor built into the average IDE (eg uVision) doesn't?
    finding my answer not exhaustive enough he posts
    What does an Emacs class of editor give you that you actually use which provides a real benefit in terms of development efficiency over the average editor supplied with an IDE?
    then, after requesting a more exhaustive answer he posts
    The difficulty I have is that the content of your posts is so rambling

    You see, this is the confused mess you get yourself into when you don't spend a little time actually reading the thread properly before you jump in with your size 12s.

    I do occasionally converse with others, you know.

    do you have the cake you ate?

    Er, what?

  • before you jump in with your size 12s.
    My shoes are size 14