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. Compiler like effect.

Compiler like effect.

Scheduled Pinned Locked Moved The Lounge
c++helpdiscussion
46 Posts 19 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.
  • A Anna Jayne Metcalfe

    Vivic wrote:

    What does that say about C? Does it mean that a team of two developers ought to be sufficient?

    C is a difficult language to implement (and C++ is even harder), but not impossible. However, as well as the compiler, debugger, linker and IDE you also have to write the standard libraries, which is a mammoth task in itself. A team of two could do it, but it might take them several years of full time work for no commercial return. To add to that anyone using a C or C++ compiler these days is likely to expect it to have a high degree of standards compliance. Given the struggle compilers such as MSVC and GCC have had to reach their current conformance, do you really think a team of two writing everything from scratch would have a hope? That's not to say such an exercise is not worthwhile, of course. Dabbling with compilers and linkers is a great way to learn how they work, and that in itself is fascinating (I did it myself long ago). Just don't expect to have a saleable product at the end... Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

    V Offline
    V Offline
    Vivi Chellappa
    wrote on last edited by
    #41

    You shouldn't mix a compiler with a development environment. C is a machine-oriented high-level (low-level, in my opinion) language. Which means that several of its commands are easily translated into machine code. Whether it is an 8-bit, 16-bit, 32-bit or 64-bit machine is irrelevant for the purposes of scanning the input C program, verifying its validity and producing a tokenized version of the program and has a minor impact on code generation. He was not talking about a complete IDE. He could very well use Notepad to write his scripts with. So I think we need to encourage him in his efforts rather than discourage him. Thirty years ago, with no lex, no yacc, if I and one other student could implement most of Fortran in just one semester (as did every two-student team in the Systems Programming course), there is no reason why someone could not implement a scriptig language today with ease.

    1 Reply Last reply
    0
    • R Roger Wright

      :laugh: You're evil. I like that in a person.:-D "...a photo album is like Life, but flat and stuck to pages." - Shog9

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #42

      Roger Wright wrote:

      You're evil. I like that in a person.

      :laugh::laugh::laugh: Jeremy Falcon

      1 Reply Last reply
      0
      • L led mike

        Dude, you got another drive by 1

        "What classes are you using ? You shouldn't call stuff if you have no idea what it does"
        Christian Graus in the C# forum

        led mike

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #43

        led mike wrote:

        Dude, you got another drive by 1

        Yeah, I'm starting a compaign to see how many I can get. :laugh: Jeremy Falcon

        1 Reply Last reply
        0
        • J Jorgen Sigvardsson

          It answered my question "Should I stick with C++?". The answer was "YES!!!" ;P -- 100% natural. No superstitious additives.

          J Offline
          J Offline
          Jeremy Falcon
          wrote on last edited by
          #44

          I think I'd rather stick with punch cards. :-> Jeremy Falcon

          1 Reply Last reply
          0
          • R Rage

            :) I second Roger on this one, you are evil. ~RaGE();

            J Offline
            J Offline
            Jeremy Falcon
            wrote on last edited by
            #45

            Rage wrote:

            you are evil.

            It's a gift. :) Jeremy Falcon

            1 Reply Last reply
            0
            • L Lost User

              [Message Deleted]

              T Offline
              T Offline
              toxcct
              wrote on last edited by
              #46

              The Osmosian Order wrote:

              We know

              why do you always talk to plural ? how many are you typing behind your keyboard ? :~


              TOXCCT >>> GEII power

              [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

              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