Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Microsoft technologies Simplicity && illiteracy VS complication && professionalism [modified]

Microsoft technologies Simplicity && illiteracy VS complication && professionalism [modified]

Scheduled Pinned Locked Moved The Lounge
csharphelpc++visual-studiolinux
25 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • OriginalGriffO OriginalGriff

    An oversimplification, I admit. No I wouldn't write anything quick in C# - I use assembler for interrupt routines, or vanilla C. Though I have used C++ for embedded applications, with a little assembler at startup and for interrupts, I would not consider C# because of the memory requirements. But equally, I wouldn't want to write .NET applications in assembler (or C again)!

    No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

    M Offline
    M Offline
    molesworth
    wrote on last edited by
    #21

    OriginalGriff wrote:

    No I wouldn't write anything quick in C#

    We've benchmarked C# versus C++, and found that well written C# is just as fast in all but a few specialised areas. It's worth knowing a bit about the CLI / JIT and which features to avoid unless absolutely necessary (dictionaries, interfaces & properties to name a few) if you want the best performance.

    OriginalGriff wrote:

    I would not consider C# because of the memory requirements.

    Again, a knowledge of what's going on under the hood, and a bit of care in managing things, will give you assemblies that don't use any more memory than their C++ equivalents.

    There are three kinds of people in the world - those who can count and those who can't...

    OriginalGriffO 1 Reply Last reply
    0
    • M molesworth

      OriginalGriff wrote:

      No I wouldn't write anything quick in C#

      We've benchmarked C# versus C++, and found that well written C# is just as fast in all but a few specialised areas. It's worth knowing a bit about the CLI / JIT and which features to avoid unless absolutely necessary (dictionaries, interfaces & properties to name a few) if you want the best performance.

      OriginalGriff wrote:

      I would not consider C# because of the memory requirements.

      Again, a knowledge of what's going on under the hood, and a bit of care in managing things, will give you assemblies that don't use any more memory than their C++ equivalents.

      There are three kinds of people in the world - those who can count and those who can't...

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #22

      It's not the amount of memory that's the problem with embedded, it's the fragmentation! The last thing you need is a forced garbage collection under interrupt (Shudder).

      No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      M 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        It's not the amount of memory that's the problem with embedded, it's the fragmentation! The last thing you need is a forced garbage collection under interrupt (Shudder).

        No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

        M Offline
        M Offline
        molesworth
        wrote on last edited by
        #23

        OriginalGriff wrote:

        It's not the amount of memory that's the problem with embedded, it's the fragmentation! The last thing you need is a forced garbage collection under interrupt (Shudder).

        True - that's why I added the "except in special cases" clause :) There are some things that you would never want to do in C#...

        There are three kinds of people in the world - those who can count and those who can't...

        1 Reply Last reply
        0
        • D Dalek Dave

          And the perpendicular pronoun is supposed to a majuscule!

          ------------------------------------ "Children today are tyrants. They contradict their parents, gobble their food and tyrannize their teachers. I despair for the future." Socrates 400BC

          M Offline
          M Offline
          Mark_Wallace
          wrote on last edited by
          #24

          And there's supposed to be a "be" in that bee-in-the-bonnet statement.

          I wanna be a eunuchs developer! Pass me a bread knife!

          1 Reply Last reply
          0
          • C cppwxwidgetsss

            I used to working on a big project, with lots of code and with a lot of customizable GUI, the name of the platform i was using was "wxwidgets" and it was a platform that is based on C++ ,I was learning lots of things especially in visual programming and i could do whatever i wanted because of strength of c++ and the platform itself and it had got a handy dandy (and simple) help , it was just a chm file that i could find all i wanted simply there but i migrated to C#, (and i used to be familiar with the technology of .NET especially C#) but now i feel that C# say nothing about anything , it stay you away of the real knowledge of visual programming (especially and other base concept in general term) and i feel if you want to learn c# especially by the means of books and videos you will just learn a shell of all is happening under the hood and you still can not find exactly what you want or maybe somethings doesn't exist to be found I want to know if you all programmers agree with me or you are not thank you all especially some of you that tell me about your idea about the issue thank you'all and i am talking about the technology of Microsoft Co. why all are talking about my style of writing or literature ?

            modified on Wednesday, May 6, 2009 7:04 AM

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #25

            cppwxwidgetsss wrote:

            I want to know if you all programmers agree with me

            With you? No. With the concept that I was barely able to determine within the horrible spelling and grammar? Yes. Of course .net and C# etc. hide a lot of stuff, that's the whole point. I've worked with both C# and C and there wasn't anything I did in C that couldn't have been done in C#. Others (including you) have had different experiences than I. "Use the right tool for the right job!" -- Scotty et al

            cppwxwidgetsss wrote:

            why all are talking about my style of writing or literature ?

            Because you need to communicate clearly first and foremost. What idea you have doesn't matter if you can't communicate it. Einstein could come to me in a dream and tell me how to achieve useful time travel, but if he's speaking German he's wasting his breath.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups