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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. What Language

What Language

Scheduled Pinned Locked Moved The Lounge
question
27 Posts 17 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.
  • S shadrach_india

    What language is used for developing OS (windows)? If X languages is used for that, what language is used for the language compiler ? If this is Y language, What language is used for Y compiler ..... ...... :confused: .....:confused: ..... :confused:

    K Offline
    K Offline
    Kevin McFarlane
    wrote on last edited by
    #13

    shadrach_india wrote:

    What language is used for developing OS (windows)?

    Currently C, C++, Assembler. But for Vista, it's C, C++, Assembler, Managed C++ and C#. Kevin

    1 Reply Last reply
    0
    • C Corinna John

      AFAIK OS developers use - C++ for the OS - Assembly Language for the C++ compiler - Machine language for the Assembler The machine language is coded into the processor and does not need a compiler...:rolleyes: _____________________________________________________________________________ I don't expect too much, all I want is your vote for Halbsichtigkeit.

      P Offline
      P Offline
      peterchen
      wrote on last edited by
      #14

      Not quite. The C++ compiler, of course, is written in C++. The first C++ translator was called CFront, it was originally written in C, and translated C++ sources to C, which in turn were fed to the C compiler. Same goes for the first C compiler, written in C, by intermediate translation to B (or BCPL?)


      Some of us walk the memory lane, others plummet into a rabbit hole
      Tree in C# || Fold With Us! || sighist

      C 1 Reply Last reply
      0
      • S shadrach_india

        Is it correct :~ . May I believe this :->

        C Offline
        C Offline
        Corinna John
        wrote on last edited by
        #15

        Things are even worse: C# and VB are coded in C++. Just imagine the compiler chain depth you'd get if you wrote a compiler in C#. _____________________________________________________________________________ I don't expect too much, all I want is your vote for Halbsichtigkeit.

        L 1 Reply Last reply
        0
        • P peterchen

          Not quite. The C++ compiler, of course, is written in C++. The first C++ translator was called CFront, it was originally written in C, and translated C++ sources to C, which in turn were fed to the C compiler. Same goes for the first C compiler, written in C, by intermediate translation to B (or BCPL?)


          Some of us walk the memory lane, others plummet into a rabbit hole
          Tree in C# || Fold With Us! || sighist

          C Offline
          C Offline
          Corinna John
          wrote on last edited by
          #16

          Imagine that all compilers would disappear from all harddrives over night. Who would be able to write the first new compiler? :~ _____________________________________________________________________________ I don't expect too much, all I want is your vote for Halbsichtigkeit.

          R L D P 4 Replies Last reply
          0
          • C Corinna John

            Imagine that all compilers would disappear from all harddrives over night. Who would be able to write the first new compiler? :~ _____________________________________________________________________________ I don't expect too much, all I want is your vote for Halbsichtigkeit.

            R Offline
            R Offline
            Ryan Binns
            wrote on last edited by
            #17

            Me :cool:

            Ryan

            "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

            1 Reply Last reply
            0
            • S shadrach_india

              What language is used for developing OS (windows)? If X languages is used for that, what language is used for the language compiler ? If this is Y language, What language is used for Y compiler ..... ...... :confused: .....:confused: ..... :confused:

              S Offline
              S Offline
              shadrach_india
              wrote on last edited by
              #18

              Thanks a lot

              1 Reply Last reply
              0
              • S shadrach_india

                What language is used for developing OS (windows)? If X languages is used for that, what language is used for the language compiler ? If this is Y language, What language is used for Y compiler ..... ...... :confused: .....:confused: ..... :confused:

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #19

                C is used for windows. the space shuttle too. C is used for everything. (or C++ which is a superset of C). Compilers, OS, the lot. Only very small parts of the HAL (hardware abstraction layer in the kernel) are written in assembler. Nunc est bibendum

                1 Reply Last reply
                0
                • C Corinna John

                  Things are even worse: C# and VB are coded in C++. Just imagine the compiler chain depth you'd get if you wrote a compiler in C#. _____________________________________________________________________________ I don't expect too much, all I want is your vote for Halbsichtigkeit.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #20

                  Corinna John wrote:

                  Just imagine the compiler chain depth you'd get if you wrote a compiler in C#

                  Stop it, I feel sick enough already. Nunc est bibendum

                  1 Reply Last reply
                  0
                  • C Corinna John

                    Imagine that all compilers would disappear from all harddrives over night. Who would be able to write the first new compiler? :~ _____________________________________________________________________________ I don't expect too much, all I want is your vote for Halbsichtigkeit.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #21

                    Compilers arent difficult conceptualy, it is the text parsing that is just painful to write because it has to do so much syntax checking. Once the text is tokenised, translating it to assembly is easier. Nunc est bibendum

                    1 Reply Last reply
                    0
                    • W Weiye Chen

                      Assembly language :~

                      J Offline
                      J Offline
                      JCParker
                      wrote on last edited by
                      #22

                      Great Stuff, granular control, no security hang ups Ever see a processor flame, this is the language to create that program.

                      1 Reply Last reply
                      0
                      • C code frog 0

                        C/C++ and Assembler. C/C++ and Assembler. C/C++ and Assembler. Not at all uncommon for programming languages to compile themselves as well as products.


                        "You have an arrow in your butt!" - Fiona:cool:
                        Welcome to CP in your language. Post the unicode version in My CP Blog [ ^ ] now.

                        People who don't understand how awesome Firefox is have never used CPhog[^]CPhog. The act of using CPhog (Firefox)[^] alone doesn't make Firefox cool. It opens your eyes to the possibilities and then you start looking for other things like CPhog (Firefox)[^] and your eyes are suddenly open to all sorts of useful things all through Firefox. - (Self Quote)

                        A Offline
                        A Offline
                        Andy Brummer
                        wrote on last edited by
                        #23

                        You forgot Plain English and Plain English. ;P


                        I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                        1 Reply Last reply
                        0
                        • C Corinna John

                          Imagine that all compilers would disappear from all harddrives over night. Who would be able to write the first new compiler? :~ _____________________________________________________________________________ I don't expect too much, all I want is your vote for Halbsichtigkeit.

                          D Offline
                          D Offline
                          dandy72
                          wrote on last edited by
                          #24

                          > Imagine that all compilers would disappear from all harddrives over night. > Who would be able to write the first new compiler? Whoever can do a restore the quickest? ;P

                          1 Reply Last reply
                          0
                          • C code frog 0

                            C/C++ and Assembler. C/C++ and Assembler. C/C++ and Assembler. Not at all uncommon for programming languages to compile themselves as well as products.


                            "You have an arrow in your butt!" - Fiona:cool:
                            Welcome to CP in your language. Post the unicode version in My CP Blog [ ^ ] now.

                            People who don't understand how awesome Firefox is have never used CPhog[^]CPhog. The act of using CPhog (Firefox)[^] alone doesn't make Firefox cool. It opens your eyes to the possibilities and then you start looking for other things like CPhog (Firefox)[^] and your eyes are suddenly open to all sorts of useful things all through Firefox. - (Self Quote)

                            D Offline
                            D Offline
                            David Crow
                            wrote on last edited by
                            #25

                            code-frog wrote:

                            C/C++ and Assembler.

                            Assembler is the tool that compiles assembly code. ;)


                            "The largest fire starts but with the smallest spark." - David Crow

                            "Judge not by the eye but by the heart." - Native American Proverb

                            C 1 Reply Last reply
                            0
                            • D David Crow

                              code-frog wrote:

                              C/C++ and Assembler.

                              Assembler is the tool that compiles assembly code. ;)


                              "The largest fire starts but with the smallest spark." - David Crow

                              "Judge not by the eye but by the heart." - Native American Proverb

                              C Offline
                              C Offline
                              code frog 0
                              wrote on last edited by
                              #26

                              Hey! Yellow Card!!! His second part of his question was what compiled the language. Wouldn't it be Assembler for Assembly? "Some Assembly Required." has always meant something funny to me.


                              "You have an arrow in your butt!" - Fiona:cool:
                              Welcome to CP in your language. Post the unicode version in My CP Blog [ ^ ] now.

                              People who don't understand how awesome Firefox is have never used CPhog[^]CPhog. The act of using CPhog (Firefox)[^] alone doesn't make Firefox cool. It opens your eyes to the possibilities and then you start looking for other things like CPhog (Firefox)[^] and your eyes are suddenly open to all sorts of useful things all through Firefox. - (Self Quote)

                              1 Reply Last reply
                              0
                              • C Corinna John

                                Imagine that all compilers would disappear from all harddrives over night. Who would be able to write the first new compiler? :~ _____________________________________________________________________________ I don't expect too much, all I want is your vote for Halbsichtigkeit.

                                P Offline
                                P Offline
                                peterchen
                                wrote on last edited by
                                #27

                                scary.... especially with the complexity of current languages. Fortran is simple, but imagine how long it would take to get a fully functional C++ compilre :omg:


                                Some of us walk the memory lane, others plummet into a rabbit hole
                                Tree in C# || Fold With Us! || sighist

                                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